NormalInstallerServiceProvider.php

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

Namespace

Drupal\Core\Installer

File

core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php

View source
<?php

namespace Drupal\Core\Installer;

use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderInterface;

/**
 * Service provider for the non early installer environment.
 */
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');
    }

}

Classes

Title Deprecated Summary
NormalInstallerServiceProvider Service provider for the non early installer environment.

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