/** * {@inheritdoc} */ public function getConfig($path) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getConfig'); if (!$pluginInfo) { return parent::getConfig($path); } else { return $this->___callPlugins('getConfig', func_get_args(), $pluginInfo); } }
/** * Store name datafield. * * @param \Magento\Store\Model\Website $website * * @return mixed|string */ public function getMappedStoreName(\Magento\Store\Model\Website $website) { $mapped = $website->getConfig(\Dotdigitalgroup\Email\Helper\Config::XML_PATH_CONNECTOR_MAPPING_CUSTOMER_STORENAME); $storeName = $mapped ? $mapped : ''; return $storeName; }