/** * Function called before all process. */ protected function beforeExecute() { parent::beforeExecute(); $this->globalContext['defaultLocale'] = $this->defaultLocale; $this->globalContext['storeViewMapping'] = $this->storeViewMappingMerger->getMapping(); $this->globalContext['defaultStoreView'] = $this->getDefaultStoreView(); }