Same name in other branches
  1. 8.9.x Drupal\Core\EventSubscriber
  2. 9 Drupal\Core\EventSubscriber
Classsort descending Location Description
ActiveLinkResponseFilter core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php Subscribes to filter HTML responses, to set attributes on active links.
AjaxResponseSubscriber core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php Response subscriber to handle AJAX responses.
AnonymousUserResponseSubscriber core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php Response subscriber to handle finished responses for the anonymous user.
AuthenticationSubscriber core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php Authentication subscriber.
CacheRouterRebuildSubscriber core/lib/Drupal/Core/EventSubscriber/CacheRouterRebuildSubscriber.php Clear cache tags when the router is rebuilt.
ClientErrorResponseSubscriber core/lib/Drupal/Core/EventSubscriber/ClientErrorResponseSubscriber.php Response subscriber to set the '4xx-response' cache tag on 4xx responses.
ConfigSnapshotSubscriber core/lib/Drupal/Core/EventSubscriber/ConfigSnapshotSubscriber.php Create a snapshot when config is imported.
CustomPageExceptionHtmlSubscriber core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php Exception subscriber for handling core custom HTML error pages.
DefaultExceptionHtmlSubscriber core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Exception subscriber for handling core default HTML error pages.
EarlyRenderingControllerWrapperSubscriber core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php Subscriber that wraps controllers, to handle early rendering.
EnforcedFormResponseSubscriber core/lib/Drupal/Core/EventSubscriber/EnforcedFormResponseSubscriber.php Handle the EnforcedResponseException and deliver an EnforcedResponse.
EntityRouteAlterSubscriber core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php Registers the 'type' of route parameter names that match an entity type.
EntityRouteProviderSubscriber core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php Ensures that routes can be provided by entity types.
ExceptionDetectNeedsInstallSubscriber core/lib/Drupal/Core/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php Exception handler to determine if an exception indicates an uninstalled site.
ExceptionJsonSubscriber core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php Default handling for JSON errors.
ExceptionLoggingSubscriber core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Log exceptions without further handling.
ExcludedModulesEventSubscriber core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php The event subscriber preventing excluded modules to be exported.
Fast404ExceptionHtmlSubscriber core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php High-performance 404 exception subscriber.
FinalExceptionSubscriber core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php Last-chance handler for exceptions: the final exception subscriber.
HtmlResponsePlaceholderStrategySubscriber core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php HTML response subscriber to allow for different placeholder strategies.
HtmlResponseSubscriber core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php Response subscriber to handle HTML responses.
HttpExceptionSubscriberBase core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php Utility base class for exception subscribers.
KernelDestructionSubscriber core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php Destructs services that are initiated and tagged with "needs_destruction".
MainContentViewSubscriber core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php View subscriber rendering main content render arrays into responses.
MaintenanceModeSubscriber core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php Maintenance mode subscriber for controller requests.
ModuleRouteSubscriber core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php A route subscriber to remove routes that depend on modules being enabled.
OptionsRequestSubscriber core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php Handles options requests.
ParamConverterSubscriber core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php Event subscriber for registering parameter converters with routes.
PathRootsSubscriber core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Provides all available first bits of all route paths.
PsrResponseSubscriber core/lib/Drupal/Core/EventSubscriber/PsrResponseSubscriber.php Response subscriber for handling PSR-7 responses.
RedirectLeadingSlashesSubscriber core/lib/Drupal/Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php Redirects paths containing successive slashes to those with single slashes.
RenderArrayNonHtmlSubscriber core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php Throws 406 if requesting non-HTML format and controller returns render array.
ResponseGeneratorSubscriber core/lib/Drupal/Core/EventSubscriber/ResponseGeneratorSubscriber.php Response subscriber to add X-Generator header tag.
RouteAccessResponseSubscriber core/lib/Drupal/Core/EventSubscriber/RouteAccessResponseSubscriber.php Response subscriber to bubble the route's access result's cacheability.
RouteMethodSubscriber core/lib/Drupal/Core/EventSubscriber/RouteMethodSubscriber.php Provides a default value for the HTTP method restriction on routes.
RssResponseRelativeUrlFilter core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php Subscribes to filter RSS responses, to make relative URIs absolute.
SpecialAttributesRouteSubscriber core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Provides a route subscriber which checks for invalid pattern variables.