protected function _prepareLayout()
 {
     parent::_prepareLayout();
     $this->addTab('downloads', ['label' => __('Downloads'), 'content' => $this->_translateHtml($this->getLayout()->createBlock('Sebwite\\ProductDownloads\\Block\\Adminhtml\\Product\\Edit\\Tab\\Download')->toHtml()), 'group_code' => self::BASIC_TAB_GROUP_CODE]);
 }
Example #2
0
 /**
  * @return $this|void
  */
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     $this->addTab('bundle_items', array('label' => __('Bundle Items'), 'url' => $this->getUrl('adminhtml/*/bundles', array('_current' => true)), 'class' => 'ajax'));
     $this->bindShadowTabs('bundle_items', 'customer_options');
 }