function DrupalSystem::__construct in X Autoload 7.5
Same name and namespace in other branches
- 7.4 lib/DrupalSystem/DrupalSystem.php \Drupal\xautoload\DrupalSystem\DrupalSystem::__construct()
File
- src/
DrupalSystem/ DrupalSystem.php, line 7
Class
Namespace
Drupal\xautoload\DrupalSystemCode
function __construct() {
if (!function_exists('drupal_get_filename')) {
throw new \Exception("This class works only within a working Drupal environment.");
}
}