/** * Add theme buttons * * @param \Magento\DesignEditor\Block\Adminhtml\Theme $themeBlock * @return $this */ protected function _addThemeButtons($themeBlock) { parent::_addThemeButtons($themeBlock); $this->_addAssignButtonHtml($themeBlock); $this->_addEditButtonHtml($themeBlock); return $this; }
/** * Add theme buttons * * @param \Magento\DesignEditor\Block\Adminhtml\Theme $themeBlock * @return $this */ protected function _addThemeButtons($themeBlock) { parent::_addThemeButtons($themeBlock); $this->_addDuplicateButtonHtml($themeBlock); if (count($this->_storeManager->getStores()) > 1) { $this->_addAssignButtonHtml($themeBlock); } $this->_addEditButtonHtml($themeBlock); return $this; }