Globals - 8.9.x - drupal

Title Deprecated File name Summary 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

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Site\Settings::get('config_sync_directory') instead.

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


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