/** * {@inheritdoc} */ public function getConfigurationFields() { return array_merge(parent::getConfigurationFields(), ['notInPimAnymoreAction' => ['type' => 'choice', 'options' => ['choices' => [Cleaner::DO_NOTHING => 'pim_prestashop_connector.export.do_nothing.label', Cleaner::DISABLE => 'pim_prestashop_connector.export.disable.label', Cleaner::DELETE => 'pim_prestashop_connector.export.delete.label'], 'required' => true, 'help' => 'pim_prestashop_connector.export.notInPimAnymoreAction.help', 'label' => 'pim_prestashop_connector.export.notInPimAnymoreAction.label', 'attr' => ['class' => 'select2']]]]); }
/** * {@inheritdoc} */ public function getConfigurationFields() { return array_merge(parent::getConfigurationFields(), ['defaultLocale' => ['type' => 'choice', 'options' => ['choices' => $this->localeManager->getLocaleChoices(), 'required' => true, 'attr' => ['class' => 'select2'], 'help' => 'pim_prestashop_connector.export.defaultLocale.help', 'label' => 'pim_prestashop_connector.export.defaultLocale.label']], 'website' => ['type' => 'text', 'options' => ['required' => true, 'help' => 'pim_prestashop_connector.export.website.help', 'label' => 'pim_prestashop_connector.export.website.label']]], $this->storeViewMappingMerger->getConfigurationField()); }