Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 protected function getFormOptions()
 {
     $attribute = $this->getAttribute();
     return array_merge(parent::getFormOptions(), ['choice_url' => 'pim_ui_ajaxentity_list', 'choice_url_params' => ['class' => $this->optionRepoClass, 'dataLocale' => $this->userContext->getCurrentLocaleCode(), 'collectionId' => $attribute->getId()]]);
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 protected function getFormOptions()
 {
     return array_merge(parent::getFormOptions(), ['choice_url' => 'pim_ui_ajaxentity_list', 'choice_url_params' => ['class' => $this->groupClass, 'dataLocale' => $this->userContext->getCurrentLocaleCode(), 'collectionId' => null]]);
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 protected function getFormOptions()
 {
     return array_merge(parent::getFormOptions(), ['choice_url' => 'pim_enrich_family_rest_index']);
 }