Elcodi\Admin\ProductBundle\Controller\Component\CategoryComponentController::editComponentAction PHP Метод

editComponentAction() публичный Метод

As a component, this action should not return all the html macro, but only the specific component
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
Результат array Result
    public function editComponentAction(FormView $formView, CategoryInterface $category)
    {
        return ['category' => $category, 'form' => $formView];
    }