Exemplo n.º 1
0
 /**
  * Register a portal
  *
  * @param string  $url        Drupal URL
  * @param string  $controller Controller class name
  * @param string  $title      Portal title OPTIONAL
  * @param integer $type       Node type OPTIONAL
  *
  * @return void
  */
 protected function registerPortal($url, $controller, $title = '', $type = MENU_LOCAL_TASK)
 {
     if (!\XLite\Core\Config::getInstance()->CDev->Catalog->disable_checkout || !in_array($controller, $this->catalogToRemove)) {
         parent::registerPortal($url, $controller, $title, $type);
     }
 }