public function DrupalKernel::loadLegacyIncludes in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::loadLegacyIncludes()
Helper method that loads legacy Drupal include files.
Overrides DrupalKernelInterface::loadLegacyIncludes
1 call to DrupalKernel::loadLegacyIncludes()
- DrupalKernel::preHandle in core/
lib/ Drupal/ Core/ DrupalKernel.php - Helper method that does request related initialization.
File
- core/
lib/ Drupal/ Core/ DrupalKernel.php, line 561
Class
- DrupalKernel
- The DrupalKernel class is the core of Drupal itself.
Namespace
Drupal\CoreCode
public function loadLegacyIncludes() {
require_once $this->root . '/core/includes/common.inc';
require_once $this->root . '/core/includes/module.inc';
require_once $this->root . '/core/includes/theme.inc';
require_once $this->root . '/core/includes/menu.inc';
require_once $this->root . '/core/includes/file.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';
}