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

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

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