Beispiel #1
0
 /**
  * Set template to itself
  *
  * @return $this
  */
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     if (!$this->getTemplate()) {
         $this->setTemplate(static::WIZARD_TEMPLATE);
     }
     return $this;
 }
Beispiel #2
0
 /**
  * Set template to itself
  *
  * @return \Magento\Customer\Block\Adminhtml\System\Config\Validatevat
  */
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     if (!$this->getTemplate()) {
         $this->setTemplate('system/config/validatevat.phtml');
     }
     return $this;
 }