/** * Die if trying to access storefront and DrupalConnector module is enabled * * @return void */ protected function checkStorefrontAccessability() { // Run parent method to make some "parent" changes. parent::checkStorefrontAccessability(); return \XLite\Module\CDev\DrupalConnector\Handler::getInstance()->checkCurrentCMS(); }