Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. globals.api.php

$base_path

The base path of the Drupal installation.

This will at least default to '/'.

See also

\Drupal\Core\DrupalKernel::initializeRequestGlobals()

File

core/globals.api.php, line 22

Code

global $base_path;
RSS feed
Powered by Drupal