Elcodi\Admin\RuleBundle\Controller\RuleController::editComponentAction PHP Метод

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

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