index.php

Same filename in this branch
  1. main core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-assets-fixture/assets/index.php
  2. main core/assets/scaffold/files/index.php
Same filename and directory in other branches
  1. 10 index.php
  2. 11.x index.php
  3. 11.x core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-assets-fixture/assets/index.php
  4. 11.x core/assets/scaffold/files/index.php
  5. 10 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-assets-fixture/assets/index.php
  6. 10 core/assets/scaffold/files/index.php
  7. 9 index.php
  8. 9 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-assets-fixture/assets/index.php
  9. 9 core/assets/scaffold/files/index.php
  10. 8.9.x index.php
  11. 8.9.x core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-assets-fixture/assets/index.php
  12. 8.9.x core/assets/scaffold/files/index.php
  13. 7.x index.php
  14. 7.x external_documentation/developer/index.php

The PHP page that serves all page requests on a Drupal installation.

All Drupal code is released under the GNU General Public License. See COPYRIGHT.txt and LICENSE.txt files in the "core" directory.

File

./index.php

View source
<?php


/**
 * @file
 * The PHP page that serves all page requests on a Drupal installation.
 *
 * All Drupal code is released under the GNU General Public License.
 * See COPYRIGHT.txt and LICENSE.txt files in the "core" directory.
 */

use Drupal\Core\DrupalKernel;
require_once 'autoload_runtime.php';
return static function () {
  return new DrupalKernel('prod', require 'autoload.php');
};

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.