/** * init * * @return void */ public function init() { parent::init(); if (\XLite\Core\Request::getInstance()->id) { $this->tabs['featured_products'] = array('title' => 'Featured products', 'template' => 'modules/CDev/FeaturedProducts/featured_products.tpl'); } }