function NormalInstallerServiceProvider::register
Same name in other branches
- 9 core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php \Drupal\Core\Installer\NormalInstallerServiceProvider::register()
- 10 core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php \Drupal\Core\Installer\NormalInstallerServiceProvider::register()
- 11.x core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php \Drupal\Core\Installer\NormalInstallerServiceProvider::register()
Overrides ServiceProviderInterface::register
File
-
core/
lib/ Drupal/ Core/ Installer/ NormalInstallerServiceProvider.php, line 16
Class
- NormalInstallerServiceProvider
- Service provider for the non early installer environment.
Namespace
Drupal\Core\InstallerCode
public function register(ContainerBuilder $container) {
// Use performance-optimized extension lists.
$container->getDefinition('extension.list.module')
->setClass('Drupal\\Core\\Installer\\InstallerModuleExtensionList');
$container->getDefinition('extension.list.theme')
->setClass('Drupal\\Core\\Installer\\InstallerThemeExtensionList');
$container->getDefinition('extension.list.theme_engine')
->setClass('Drupal\\Core\\Installer\\InstallerThemeEngineExtensionList');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.