WellCommerce\Bundle\CoreBundle\Form\AbstractFormBuilder::addShopsFieldset PHP Метод

addShopsFieldset() защищенный Метод

protected addShopsFieldset ( WellCommerce\Component\Form\Elements\FormInterface $form )
$form WellCommerce\Component\Form\Elements\FormInterface
    protected function addShopsFieldset(FormInterface $form)
    {
        $shopsData = $form->addChild($this->getElement('nested_fieldset', ['name' => 'shops_data', 'label' => $this->trans('common.fieldset.shops')]));
        $shopsData->addChild($this->getElement('multi_select', ['name' => 'shops', 'label' => $this->trans('common.label.shops'), 'options' => $this->get('shop.dataset.admin')->getResult('select'), 'transformer' => $this->getRepositoryTransformer('collection', $this->get('shop.repository'))]));
    }