plus-8.x-4.x-dev/plus.module

plus.module
<?php

/**
 * @file
 * The Plus module.
 */

/**
 * The default group for core JavaScript files added to the page.
 */
const JS_CORE = -200;

// Load the module file for the correct Drupal version.
$core_version = class_exists('\\Drupal') ? \Drupal::VERSION : (defined('VERSION') ? VERSION : '0.0.0');
$core_major = (int) $core_version[0];
if ($core_major) {
  require_once __DIR__ . "/plus.$core_major.php";
}
else {
  trigger_error(sprintf('Unable to load Drupal+ module, invalid Drupal core version: %s', $core_version), E_USER_ERROR);
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc