/** * Join website and store names * * @return $this */ protected function _initSelect() { parent::_initSelect(); $this->joinGroupAndStore(); return $this; }
/** * Get website collection with stores and store-views joined * * @return \Magento\Store\Model\Resource\Website\Collection */ public function getCollection() { return $this->_websiteCollection->joinGroupAndStore(); }