Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Installer / NormalInstallerServiceProvider.php
diff --git a/web/core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php b/web/core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php
new file mode 100644 (file)
index 0000000..c63b2d8
--- /dev/null
@@ -0,0 +1,21 @@
+<?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 a performance optimised module extension list.
+    $container->getDefinition('extension.list.module')->setClass('Drupal\Core\Installer\InstallerModuleExtensionList');
+  }
+
+}