NormalInstallerServiceProvider.php 577 B

123456789101112131415161718192021
  1. <?php
  2. namespace Drupal\Core\Installer;
  3. use Drupal\Core\DependencyInjection\ContainerBuilder;
  4. use Drupal\Core\DependencyInjection\ServiceProviderInterface;
  5. /**
  6. * Service provider for the non early installer environment.
  7. */
  8. class NormalInstallerServiceProvider implements ServiceProviderInterface {
  9. /**
  10. * {@inheritdoc}
  11. */
  12. public function register(ContainerBuilder $container) {
  13. // Use a performance optimised module extension list.
  14. $container->getDefinition('extension.list.module')->setClass('Drupal\Core\Installer\InstallerModuleExtensionList');
  15. }
  16. }