W3cubDocs

/Drupal 8

public function DrupalKernel::loadLegacyIncludes

public DrupalKernel::loadLegacyIncludes()

Helper method that loads legacy Drupal include files.

Overrides DrupalKernelInterface::loadLegacyIncludes

File

core/lib/Drupal/Core/DrupalKernel.php, line 496

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

public function loadLegacyIncludes() {
  require_once $this->root . '/core/includes/common.inc';
  require_once $this->root . '/core/includes/database.inc';
  require_once $this->root . '/core/includes/module.inc';
  require_once $this->root . '/core/includes/theme.inc';
  require_once $this->root . '/core/includes/pager.inc';
  require_once $this->root . '/core/includes/menu.inc';
  require_once $this->root . '/core/includes/tablesort.inc';
  require_once $this->root . '/core/includes/file.inc';
  require_once $this->root . '/core/includes/unicode.inc';
  require_once $this->root . '/core/includes/form.inc';
  require_once $this->root . '/core/includes/errors.inc';
  require_once $this->root . '/core/includes/schema.inc';
  require_once $this->root . '/core/includes/entity.inc';
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DrupalKernel.php/function/DrupalKernel::loadLegacyIncludes/8.1.x