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