Globals - 8.9.x - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings | 
|---|---|---|---|---|---|
| $base_insecure_url | core/ | The insecure base URL of the Drupal installation. | |||
| $base_path | core/ | The base path of the Drupal installation. | 47 | 2 | |
| $base_root | core/ | The root URL of the host, excluding the path. | |||
| $base_secure_url | core/ | The secure base URL of the Drupal installation. | |||
| $base_url | core/ | The base URL of the Drupal installation. | 4 | ||
| $conf | core/ | Allows defining of site-specific service providers for the Drupal kernel. | |||
| $config | core/ | 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/ | The location of file system directories used for site configuration data. | ||
| $install_state | core/ | Store settings and profile information during installation process. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
