Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     return array_merge(parent::getConfigurationFields(), ['notInPimAnymoreAction' => ['type' => 'choice', 'options' => ['choices' => [Cleaner::DO_NOTHING => 'pim_magento_connector.export.do_nothing.label', Cleaner::DISABLE => 'pim_magento_connector.export.disable.label', Cleaner::DELETE => 'pim_magento_connector.export.delete.label'], 'required' => true, 'help' => 'pim_magento_connector.export.notInPimAnymoreAction.help', 'label' => 'pim_magento_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_magento_connector.export.defaultLocale.help', 'label' => 'pim_magento_connector.export.defaultLocale.label']], 'website' => ['type' => 'text', 'options' => ['required' => true, 'help' => 'pim_magento_connector.export.website.help', 'label' => 'pim_magento_connector.export.website.label']]], $this->storeViewMappingMerger->getConfigurationField());
 }