protected function _beforeToHtml() { parent::_beforeToHtml(); // --------------------------------------- $tabs = $this->createBlock('Amazon\\Listing\\Edit\\Tabs'); $this->setChild('tabs', $tabs); // --------------------------------------- return $this; }
protected function _beforeToHtml() { parent::_beforeToHtml(); // --------------------------------------- $data = array('allowed_tabs' => $this->getAllowedTabs()); $tabs = $this->createBlock('Ebay\\Listing\\Edit\\Tabs'); $tabs->addData($data); $this->setChild('tabs', $tabs); // --------------------------------------- return $this; }
protected function _beforeToHtml() { $this->jsTranslator->addTranslations(['Do not show any more' => $this->__('Do not show this message anymore'), 'Save Policy' => $this->__('Save Policy')]); return parent::_beforeToHtml(); }