Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/CoreServiceProvider.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
8 use Drupal\Core\DependencyInjection\Compiler\BackendCompilerPass; | 8 use Drupal\Core\DependencyInjection\Compiler\BackendCompilerPass; |
9 use Drupal\Core\DependencyInjection\Compiler\CorsCompilerPass; | 9 use Drupal\Core\DependencyInjection\Compiler\CorsCompilerPass; |
10 use Drupal\Core\DependencyInjection\Compiler\GuzzleMiddlewarePass; | 10 use Drupal\Core\DependencyInjection\Compiler\GuzzleMiddlewarePass; |
11 use Drupal\Core\DependencyInjection\Compiler\ContextProvidersPass; | 11 use Drupal\Core\DependencyInjection\Compiler\ContextProvidersPass; |
12 use Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass; | 12 use Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass; |
13 use Drupal\Core\DependencyInjection\Compiler\RegisterLazyRouteEnhancers; | |
14 use Drupal\Core\DependencyInjection\Compiler\RegisterLazyRouteFilters; | |
15 use Drupal\Core\DependencyInjection\Compiler\DependencySerializationTraitPass; | 13 use Drupal\Core\DependencyInjection\Compiler\DependencySerializationTraitPass; |
16 use Drupal\Core\DependencyInjection\Compiler\StackedKernelPass; | 14 use Drupal\Core\DependencyInjection\Compiler\StackedKernelPass; |
17 use Drupal\Core\DependencyInjection\Compiler\StackedSessionHandlerPass; | 15 use Drupal\Core\DependencyInjection\Compiler\StackedSessionHandlerPass; |
18 use Drupal\Core\DependencyInjection\Compiler\RegisterStreamWrappersPass; | 16 use Drupal\Core\DependencyInjection\Compiler\RegisterStreamWrappersPass; |
19 use Drupal\Core\DependencyInjection\Compiler\TwigExtensionPass; | 17 use Drupal\Core\DependencyInjection\Compiler\TwigExtensionPass; |
82 | 80 |
83 // Add a compiler pass for registering event subscribers. | 81 // Add a compiler pass for registering event subscribers. |
84 $container->addCompilerPass(new RegisterEventSubscribersPass(), PassConfig::TYPE_AFTER_REMOVING); | 82 $container->addCompilerPass(new RegisterEventSubscribersPass(), PassConfig::TYPE_AFTER_REMOVING); |
85 | 83 |
86 $container->addCompilerPass(new RegisterAccessChecksPass()); | 84 $container->addCompilerPass(new RegisterAccessChecksPass()); |
87 $container->addCompilerPass(new RegisterLazyRouteEnhancers()); | |
88 $container->addCompilerPass(new RegisterLazyRouteFilters()); | |
89 | 85 |
90 // Add a compiler pass for registering services needing destruction. | 86 // Add a compiler pass for registering services needing destruction. |
91 $container->addCompilerPass(new RegisterServicesForDestructionPass()); | 87 $container->addCompilerPass(new RegisterServicesForDestructionPass()); |
92 | 88 |
93 // Add the compiler pass that will process the tagged services. | 89 // Add the compiler pass that will process the tagged services. |