コード例 #1
0
ファイル: Command.php プロジェクト: Doability/magento2dev
 /**
  * {@inheritdoc}
  */
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     if (!$this->getTemplate()) {
         $this->setTemplate('config/form/field/command.phtml');
     }
     return $this;
 }
コード例 #2
0
ファイル: Button.php プロジェクト: niransingh/magento2
 /**
  * Set template to itself
  *
  * @return Retail\Analytics\Block\Adminhtml\System\Config\Button
  */
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     if (!$this->getTemplate()) {
         $this->setTemplate('system/config/button.phtml');
     }
     return $this;
 }
コード例 #3
0
 /**
  * Set template to itself
  *
  * @return $this
  */
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     if (!$this->getTemplate()) {
         $this->setTemplate(static::WIZARD_TEMPLATE);
     }
     return $this;
 }
コード例 #4
0
 /**
  * Set template to itself.
  */
 public function _prepareLayout()
 {
     parent::_prepareLayout();
     if (!$this->getTemplate()) {
         $this->setTemplate('system/config/reportlink.phtml');
     }
     return $this;
 }
コード例 #5
0
 /**
  * @return $this
  */
 public function _prepareLayout()
 {
     parent::_prepareLayout();
     if (!$this->getTemplate()) {
         $this->setTemplate('system/config/createdatafield.phtml');
     }
     return $this;
 }