/**
  * {@inheritdoc}
  */
 protected function beforeExecute()
 {
     parent::beforeExecute();
     $magentoStoreViews = $this->webservice->getStoreViewsList();
     $this->familyNormalizer = $this->normalizerGuesser->getFamilyNormalizer($this->getClientParameters());
     $this->globalContext['magentoFamilies'] = $this->webservice->getAttributeSetList();
     $this->globalContext['magentoStoreViews'] = $magentoStoreViews;
     $this->globalContext['defaultStoreView'] = $this->getDefaultStoreView();
 }
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     return array_merge(parent::getConfigurationFields(), ['pimUpSell' => ['type' => 'choice', 'options' => ['choices' => $this->associationTypeManager->getAssociationTypeChoices(), 'help' => 'pim_magento_connector.export.pimUpSell.help', 'label' => 'pim_magento_connector.export.pimUpSell.label', 'attr' => ['class' => 'select2']]], 'pimCrossSell' => ['type' => 'choice', 'options' => ['choices' => $this->associationTypeManager->getAssociationTypeChoices(), 'help' => 'pim_magento_connector.export.pimCrossSell.help', 'label' => 'pim_magento_connector.export.pimCrossSell.label', 'attr' => ['class' => 'select2']]], 'pimRelated' => ['type' => 'choice', 'options' => ['choices' => $this->associationTypeManager->getAssociationTypeChoices(), 'help' => 'pim_magento_connector.export.pimRelated.help', 'label' => 'pim_magento_connector.export.pimRelated.label', 'attr' => ['class' => 'select2']]], 'pimGrouped' => ['type' => 'choice', 'options' => ['choices' => $this->associationTypeManager->getAssociationTypeChoices(), 'help' => 'pim_magento_connector.export.pimGrouped.help', 'label' => 'pim_magento_connector.export.pimGrouped.label', 'attr' => ['class' => 'select2']]]]);
 }
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     return array_merge(parent::getConfigurationFields(), $this->attributeMappingMerger->getConfigurationField());
 }
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     return array_merge(parent::getConfigurationFields(), ['channel' => ['type' => 'choice', 'options' => ['choices' => $this->channelManager->getChannelChoices(), 'required' => true, 'help' => 'pim_magento_connector.export.channel.help', 'label' => 'pim_magento_connector.export.channel.label']], 'enabled' => ['type' => 'switch', 'options' => ['required' => true, 'help' => 'pim_magento_connector.export.enabled.help', 'label' => 'pim_magento_connector.export.enabled.label']], 'visibility' => ['type' => 'text', 'options' => ['required' => true, 'help' => 'pim_magento_connector.export.visibility.help', 'label' => 'pim_magento_connector.export.visibility.label']], 'currency' => ['type' => 'choice', 'options' => ['choices' => $this->currencyManager->getCurrencyChoices(), 'required' => true, 'help' => 'pim_magento_connector.export.currency.help', 'label' => 'pim_magento_connector.export.currency.label', 'attr' => ['class' => 'select2']]]], $this->categoryMappingMerger->getConfigurationField(), $this->attributeMappingMerger->getConfigurationField());
 }
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     return array_merge(parent::getConfigurationFields(), ['channel' => ['type' => 'choice', 'options' => ['choices' => $this->channelManager->getChannelChoices(), 'required' => true, 'help' => 'pim_magento_connector.export.channel.help', 'label' => 'pim_magento_connector.export.channel.label']], 'enabled' => ['type' => 'switch', 'options' => ['required' => true, 'help' => 'pim_magento_connector.export.enabled.help', 'label' => 'pim_magento_connector.export.enabled.label']], 'visibility' => ['type' => 'text', 'options' => ['required' => true, 'help' => 'pim_magento_connector.export.visibility.help', 'label' => 'pim_magento_connector.export.visibility.label']], 'variantMemberVisibility' => ['type' => 'text', 'options' => ['required' => true, 'help' => 'pim_magento_connector.export.variant_member_visibility.help', 'label' => 'pim_magento_connector.export.variant_member_visibility.label']], 'currency' => ['type' => 'choice', 'options' => ['choices' => $this->currencyManager->getCurrencyChoices(), 'required' => true, 'help' => 'pim_magento_connector.export.currency.help', 'label' => 'pim_magento_connector.export.currency.label', 'attr' => ['class' => 'select2']]], 'smallImageAttribute' => ['type' => 'choice', 'options' => ['choices' => $this->attributeManager->getImageAttributeChoice(), 'help' => 'pim_magento_connector.export.smallImageAttribute.help', 'label' => 'pim_magento_connector.export.smallImageAttribute.label', 'attr' => ['class' => 'select2']]], 'baseImageAttribute' => ['type' => 'choice', 'options' => ['choices' => $this->attributeManager->getImageAttributeChoice(), 'help' => 'pim_magento_connector.export.baseImageAttribute.help', 'label' => 'pim_magento_connector.export.baseImageAttribute.label', 'attr' => ['class' => 'select2']]], 'thumbnailAttribute' => ['type' => 'choice', 'options' => ['choices' => $this->attributeManager->getImageAttributeChoice(), 'help' => 'pim_magento_connector.export.thumbnailAttribute.help', 'label' => 'pim_magento_connector.export.thumbnailAttribute.label', 'attr' => ['class' => 'select2']]], 'urlKey' => ['type' => 'checkbox', 'options' => ['help' => 'pim_magento_connector.export.urlKey.help', 'label' => 'pim_magento_connector.export.urlKey.label']], 'skuFirst' => ['type' => 'checkbox', 'options' => ['help' => 'pim_magento_connector.export.skuFirst.help', 'label' => 'pim_magento_connector.export.skuFirst.label']]], $this->categoryMappingMerger->getConfigurationField(), $this->attributeMappingMerger->getConfigurationField());
 }
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     return array_merge(parent::getConfigurationFields(), ['isAnchor' => ['type' => 'checkbox', 'options' => ['help' => 'pim_magento_connector.export.isAnchor.help', 'label' => 'pim_magento_connector.export.isAnchor.label']], 'urlKey' => ['type' => 'checkbox', 'options' => ['help' => 'pim_magento_connector.export.urlKey.help', 'label' => 'pim_magento_connector.export.urlKey.label']]], $this->categoryMappingMerger->getConfigurationField());
 }