/** * @param FormBuilderInterface $builder The form builder */ public function buildForm(FormBuilderInterface $builder) { parent::buildForm($builder); $data = $builder->getData(); $data['node_search'] = $this->nodeSearch; $builder->setData($data); }
/** * @param FormBuilderInterface $builder The form builder */ public function buildForm(FormBuilderInterface $builder) { parent::buildForm($builder); $this->pagePartAdmin->preBindRequest($this->request); $this->pagePartAdmin->adaptForm($builder, $this->formFactory); }
/** * @param FormBuilderInterface $builder The form builder */ public function buildForm(FormBuilderInterface $builder) { $this->widget->buildForm($builder); }