Beispiel #1
0
 /**
  * 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;
 }
Beispiel #2
0
 /**
  * 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;
 }