/** * Add area filter * * @return \Magento\Theme\Model\ResourceModel\Theme\Collection */ protected function _initSelect() { \Magento\Theme\Model\ResourceModel\Theme\Collection::_initSelect(); $this->filterVisibleThemes()->addAreaFilter(\Magento\Framework\App\Area::AREA_FRONTEND)->addParentTitle(); return $this; }