コード例 #1
0
ファイル: Available.php プロジェクト: aiesh/magento2
 /**
  * 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;
 }