public function _prepareLayout() { $this->addTab('my_tab', array( 'label' => Mage::helper('adminhtml')->__('My Tab'), 'content' => $this->getLayout() ->createBlock('mymodule/adminhtml_product_edit_tab') ->toHtml(), )); return parent::_prepareLayout(); }
public function _prepareLayout() { $this->removeTab('customer_edit_tabs_account'); return parent::_prepareLayout(); }This example removes the "Account Information" tab from the customer edit page. The tab is identified by its tab ID, which is "customer_edit_tabs_account".