namespace Drupal\Core\DependencyInjection\Compiler

Same name in other branches
  1. 11.x Drupal\Core\DependencyInjection\Compiler
  2. 10 Drupal\Core\DependencyInjection\Compiler
  3. 8.9.x Drupal\Core\DependencyInjection\Compiler
Object name File name Summary
AuthenticationProviderPass core/lib/Drupal/Core/DependencyInjection/Compiler/AuthenticationProviderPass.php Registers the authentication_providers container parameter.
BackendCompilerPass core/lib/Drupal/Core/DependencyInjection/Compiler/BackendCompilerPass.php Defines a compiler pass to allow automatic override per backend.
ContextProvidersPass core/lib/Drupal/Core/DependencyInjection/Compiler/ContextProvidersPass.php Adds the context provider service IDs to the context manager.
CorsCompilerPass core/lib/Drupal/Core/DependencyInjection/Compiler/CorsCompilerPass.php Provides a compiler pass which disables the CORS middleware in case disabled.
DependencySerializationTraitPass core/lib/Drupal/Core/DependencyInjection/Compiler/DependencySerializationTraitPass.php Sets the _serviceId property on all services.
DeprecatedServicePass core/lib/Drupal/Core/DependencyInjection/Compiler/DeprecatedServicePass.php Sets the _deprecated_service_list parameter.
MimeTypePass core/lib/Drupal/Core/DependencyInjection/Compiler/MimeTypePass.php Adds @mime_type_guesser tagged services to handle forwards compatibility.
ModifyServiceDefinitionsPass core/lib/Drupal/Core/DependencyInjection/Compiler/ModifyServiceDefinitionsPass.php Passes the container to the alter() method of all service providers.
ProxyServicesPass core/lib/Drupal/Core/DependencyInjection/Compiler/ProxyServicesPass.php Replaces all services with a lazy flag.
RegisterAccessChecksPass core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterAccessChecksPass.php Adds services tagged 'access_check' to the access_manager service.
RegisterEventSubscribersPass core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterEventSubscribersPass.php Registers all event subscribers to the event dispatcher.
RegisterServicesForDestructionPass core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php Adds services with specific tags to "kernel_destruct_subscriber" service.
RegisterStreamWrappersPass core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterStreamWrappersPass.php Adds services tagged 'stream_wrapper' to the stream_wrapper_manager service.
StackedKernelPass core/lib/Drupal/Core/DependencyInjection/Compiler/StackedKernelPass.php Provides a compiler pass for stacked HTTP kernels.
StackedSessionHandlerPass core/lib/Drupal/Core/DependencyInjection/Compiler/StackedSessionHandlerPass.php Provides a compiler pass for stacked session save handlers.
TaggedHandlersPass core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php Collects services to add/inject them into a consumer service.
TwigExtensionPass core/lib/Drupal/Core/DependencyInjection/Compiler/TwigExtensionPass.php Adds the twig_extension_hash parameter to the container.

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