$conf
Same name and namespace in other branches
- 7.x authorize.php \conf
- 11.x core/globals.api.php \conf
- 9 core/globals.api.php \conf
- 8.9.x core/globals.api.php \conf
Allows defining of site-specific service providers for the Drupal kernel.
To define a site-specific service provider class, use code like this:
$GLOBALS['conf']['container_service_providers']['MyClassName'] = 'Drupal\\My\\Namespace\\MyClassName';
See also
\Drupal\Core\DrupalKernel::$serviceProviderClasses
File
-
core/
globals.api.php, line 55
Code
global $conf;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.