namespace Drupal\Core\EventSubscriber
Same name in other branches
Object name | File name | Summary |
---|---|---|
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. |
ConfigImportSubscriber | core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php | Config import subscriber for config import events. |
ConfigSnapshotSubscriber | core/lib/Drupal/Core/EventSubscriber/ConfigSnapshotSubscriber.php | Create a snapshot when config is imported. |
CsrfExceptionSubscriber | core/lib/Drupal/Core/EventSubscriber/CsrfExceptionSubscriber.php | Handles exceptions related to CSRF access. |
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. |
FinishResponseSubscriber | core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php | Response subscriber to handle finished responses. |
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. |
MenuRouterRebuildSubscriber | core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php | Rebuilds the default menu links and runs menu-specific code if necessary. |
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. |
RedirectResponseSubscriber | core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php | Allows manipulation of the response object when performing a redirect. |
RenderArrayNonHtmlSubscriber | core/lib/Drupal/Core/EventSubscriber/RenderArrayNonHtmlSubscriber.php | Throws 406 if requesting non-HTML format and controller returns render array. |
RequestCloseSubscriber | core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php | Subscriber for all responses. |
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. |
RssResponseCdata | core/lib/Drupal/Core/EventSubscriber/RssResponseCdata.php | Subscribes to wrap RSS descriptions in CDATA. |
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. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.