Elcodi\Admin\PageBundle\Controller\Component\PageComponentController::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\Page\Entity\Interfaces\PageInterface $page ) : array
$formView Symfony\Component\Form\FormView Form view
$page Elcodi\Component\Page\Entity\Interfaces\PageInterface Page
return array Result
    public function editComponentAction(FormView $formView, PageInterface $page)
    {
        return ['page' => $page, 'form' => $formView];
    }