Elcodi\Admin\PageBundle\Controller\Component\EmailComponentController::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\Page\Entity\Interfaces\PageInterface $email ) : array
$formView Symfony\Component\Form\FormView Form view
$email Elcodi\Component\Page\Entity\Interfaces\PageInterface Email
Результат array Result
    public function editComponentAction(FormView $formView, PageInterface $email)
    {
        return ['email' => $email, 'form' => $formView];
    }