コード例 #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()]]);
 }
コード例 #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]]);
 }
コード例 #3
0
 /**
  * {@inheritdoc}
  */
 protected function getFormOptions()
 {
     return array_merge(parent::getFormOptions(), ['choice_url' => 'pim_enrich_family_rest_index']);
 }