class NormalInstallerServiceProvider

Same name in other branches
  1. 9 core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php \Drupal\Core\Installer\NormalInstallerServiceProvider
  2. 10 core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php \Drupal\Core\Installer\NormalInstallerServiceProvider
  3. 11.x core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php \Drupal\Core\Installer\NormalInstallerServiceProvider

Service provider for the non early installer environment.

Hierarchy

Expanded class hierarchy of NormalInstallerServiceProvider

File

core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php, line 11

Namespace

Drupal\Core\Installer
View source
class NormalInstallerServiceProvider implements ServiceProviderInterface {
    
    /**
     * {@inheritdoc}
     */
    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');
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NormalInstallerServiceProvider::register public function Registers services to the container. Overrides ServiceProviderInterface::register

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