예제 #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;
 }
예제 #2
0
파일: Assigned.php 프로젝트: aiesh/magento2
 /**
  * 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;
 }