You are here

Globals in Drupal 8

Primary tabs

Namesort descending Location Description Direct uses Strings
$base_insecure_url core/globals.api.php The insecure base URL of the Drupal installation.
$base_path core/globals.api.php The base path of the Drupal installation. 47 2
$base_root core/globals.api.php The root URL of the host, excluding the path.
$base_secure_url core/globals.api.php The secure base URL of the Drupal installation.
$base_url core/globals.api.php The base URL of the Drupal installation. 4
$conf core/globals.api.php Allows defining of site-specific service providers for the Drupal kernel.
$config core/globals.api.php Array of configuration overrides from the settings.php file. 132
$config_directories Deprecated core/globals.api.php The location of file system directories used for site configuration data.
$install_state core/globals.api.php Store settings and profile information during installation process.

Other projects