Elcodi\Admin\BannerBundle\Controller\BannerController::editComponentAction PHP Метод

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

As a component, this action should not return all the html macro, but only the specific component
public editComponentAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerInterface $entity, Symfony\Component\Form\FormView $formView ) : array
$entity Elcodi\Component\Banner\Entity\Interfaces\BannerInterface Entity
$formView Symfony\Component\Form\FormView Form view
Результат array Result
    public function editComponentAction(BannerInterface $entity, FormView $formView)
    {
        return ['entity' => $entity, 'form' => $formView];
    }