public editComponentAction ( Symfony\Component\Form\FormView $formView, Elcodi\Component\Product\Entity\Interfaces\CategoryInterface $category ) : array | ||
$formView | Symfony\Component\Form\FormView | Form view |
$category | Elcodi\Component\Product\Entity\Interfaces\CategoryInterface | Category |
return | array | Result |
public function editComponentAction(FormView $formView, CategoryInterface $category)
{
return ['category' => $category, 'form' => $formView];
}