Elcodi\Admin\ProductBundle\Controller\Component\ManufacturerComponentController::editComponentAction PHP Method

editComponentAction() public method

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\ManufacturerInterface $manufacturer ) : array
$formView Symfony\Component\Form\FormView Form view
$manufacturer Elcodi\Component\Product\Entity\Interfaces\ManufacturerInterface Manufacturer
return array Result
    public function editComponentAction(FormView $formView, ManufacturerInterface $manufacturer)
    {
        return ['manufacturer' => $manufacturer, 'form' => $formView];
    }
ManufacturerComponentController