Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
EventSubscriberInterface.php
»
EventSubscriberInterface
»
EventSubscriberInterface::getSubscribedEvents
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
52 methods override EventSubscriberInterface::getSubscribedEvents()
AccessSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
AccessSubscriber.php
Registers the methods in this class that should be listeners.
AjaxSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
Ajax/
AjaxSubscriber.php
Registers the methods in this class that should be listeners.
BanSubscriber::getSubscribedEvents
in drupal/
core/
modules/
ban/
lib/
Drupal/
ban/
EventSubscriber/
BanSubscriber.php
Registers the methods in this class that should be listeners.
ConfigGlobalOverrideSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
ConfigGlobalOverrideSubscriber.php
Implements EventSubscriberInterface::getSubscribedEvents().
ConfigImportSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
ConfigImportSubscriber.php
Registers the methods in this class that should be listeners.
ConfigSnapshotSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
ConfigSnapshotSubscriber.php
Registers the methods in this class that should be listeners.
ErrorsLoggerListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
ErrorsLoggerListener.php
Returns an array of event names this subscriber wants to listen to.
EsiListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
EsiListener.php
Returns an array of event names this subscriber wants to listen to.
EventSubscriber::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
Debug/
TraceableEventDispatcherTest.php
Returns an array of event names this subscriber wants to listen to.
ExceptionListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
ExceptionListener.php
Returns an array of event names this subscriber wants to listen to.
FinishResponseSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
FinishResponseSubscriber.php
Registers the methods in this class that should be listeners.
FormTestEventSubscriber::getSubscribedEvents
in drupal/
core/
modules/
system/
tests/
modules/
form_test/
lib/
Drupal/
form_test/
EventSubscriber/
FormTestEventSubscriber.php
Returns an array of event names this subscriber wants to listen to.
FragmentListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
FragmentListener.php
Returns an array of event names this subscriber wants to listen to.
HalSubscriber::getSubscribedEvents
in drupal/
core/
modules/
hal/
lib/
Drupal/
hal/
HalSubscriber.php
Registers the methods in this class that should be listeners.
KernelDestructionSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
KernelDestructionSubscriber.php
Registers the methods in this class that should be listeners.
LanguageRequestSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
LanguageRequestSubscriber.php
Registers the methods in this class that should be listeners.
LegacyAccessSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
LegacyAccessSubscriber.php
Registers the methods in this class that should be listeners.
LegacyControllerSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
LegacyControllerSubscriber.php
Registers the methods in this class that should be listeners.
LegacyRequestSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
LegacyRequestSubscriber.php
Registers the methods in this class that should be listeners.
LocaleConfigSubscriber::getSubscribedEvents
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
LocaleConfigSubscriber.php
Implements EventSubscriberInterface::getSubscribedEvents().
LocaleListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
LocaleListener.php
Returns an array of event names this subscriber wants to listen to.
MaintenanceModeSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
MaintenanceModeSubscriber.php
Returns an array of event names this subscriber wants to listen to.
MaintenanceModeSubscriber::getSubscribedEvents
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
EventSubscriber/
MaintenanceModeSubscriber.php
Returns an array of event names this subscriber wants to listen to.
MaintenanceModeSubscriber::getSubscribedEvents
in drupal/
core/
modules/
system/
tests/
modules/
menu_test/
lib/
Drupal/
menu_test/
EventSubscriber/
MaintenanceModeSubscriber.php
Returns an array of event names this subscriber wants to listen to.
MappingSubscriber::getSubscribedEvents
in drupal/
core/
modules/
rdf/
lib/
Drupal/
rdf/
EventSubscriber/
MappingSubscriber.php
Implements EventSubscriberInterface::getSubscribedEvents().
OverlaySubscriber::getSubscribedEvents
in drupal/
core/
modules/
overlay/
lib/
Drupal/
overlay/
EventSubscriber/
OverlaySubscriber.php
Returns an array of event names this subscriber wants to listen to.
PathSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
PathSubscriber.php
Registers the methods in this class that should be listeners.
ProfilerListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
ProfilerListener.php
Returns an array of event names this subscriber wants to listen to.
RedirectPlugin::getSubscribedEvents
in drupal/
core/
vendor/
guzzle/
http/
Guzzle/
Http/
RedirectPlugin.php
Returns an array of event names this subscriber wants to listen to.
RequestCloseSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
RequestCloseSubscriber.php
Registers the methods in this class that should be listeners.
RequestDataCollector::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
DataCollector/
RequestDataCollector.php
Returns an array of event names this subscriber wants to listen to.
ResponseListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
ResponseListener.php
Returns an array of event names this subscriber wants to listen to.
ReverseProxySubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
ReverseProxySubscriber.php
Registers the methods in this class that should be listeners.
RouterListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
RouterListener.php
Returns an array of event names this subscriber wants to listen to.
RouteSubscriber::getSubscribedEvents
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
EventSubscriber/
RouteSubscriber.php
Returns an array of event names this subscriber wants to listen to.
RouteSubscriber::getSubscribedEvents
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Routing/
RouteSubscriber.php
Returns an array of event names this subscriber wants to listen to.
RouteSubscriber::getSubscribedEvents
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
EventSubscriber/
RouteSubscriber.php
Implements EventSubscriberInterface::getSubscribedEvents().
RouteTestSubscriber::getSubscribedEvents
in drupal/
core/
modules/
system/
tests/
modules/
router_test/
lib/
Drupal/
router_test/
RouteTestSubscriber.php
Implements EventSubscriberInterface::getSubscribedEvents().
SessionTestSubscriber::getSubscribedEvents
in drupal/
core/
modules/
system/
tests/
modules/
session_test/
lib/
Drupal/
session_test/
EventSubscriber/
SessionTestSubscriber.php
Registers the methods in this class that should be listeners.
SimpletestHttpRequestSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
Http/
Plugin/
SimpletestHttpRequestSubscriber.php
Returns an array of event names this subscriber wants to listen to.
SlaveDatabaseIgnoreSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
SlaveDatabaseIgnoreSubscriber.php
Returns an array of event names this subscriber wants to listen to.
StreamedResponseListener::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
EventListener/
StreamedResponseListener.php
Returns an array of event names this subscriber wants to listen to.
SubscriberService::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
event-dispatcher/
Symfony/
Component/
EventDispatcher/
Tests/
ContainerAwareEventDispatcherTest.php
Returns an array of event names this subscriber wants to listen to.
SubscriberService::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
http-kernel/
Symfony/
Component/
HttpKernel/
Tests/
DependencyInjection/
RegisterListenersPassTest.php
Returns an array of event names this subscriber wants to listen to.
SystemConfigSubscriber::getSubscribedEvents
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
SystemConfigSubscriber.php
Implements EventSubscriberInterface::getSubscribedEvents().
TestClass::getSubscribedEvents
in drupal/
core/
modules/
system/
tests/
modules/
bundle_test/
lib/
Drupal/
bundle_test/
TestClass.php
Registers methods as kernel listeners.
TestEventSubscriber::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
event-dispatcher/
Symfony/
Component/
EventDispatcher/
Tests/
EventDispatcherTest.php
Returns an array of event names this subscriber wants to listen to.
TestEventSubscriberWithMultipleListeners::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
event-dispatcher/
Symfony/
Component/
EventDispatcher/
Tests/
EventDispatcherTest.php
Returns an array of event names this subscriber wants to listen to.
TestEventSubscriberWithPriorities::getSubscribedEvents
in drupal/
core/
vendor/
symfony/
event-dispatcher/
Symfony/
Component/
EventDispatcher/
Tests/
EventDispatcherTest.php
Returns an array of event names this subscriber wants to listen to.
TestMappingSubscriber::getSubscribedEvents
in drupal/
core/
modules/
rdf/
tests/
rdf_test_mapping/
lib/
Drupal/
rdf_test_mapping/
EventSubscriber/
TestMappingSubscriber.php
Implements EventSubscriberInterface::getSubscribedEvents().
ThemeTestSubscriber::getSubscribedEvents
in drupal/
core/
modules/
system/
tests/
modules/
theme_test/
lib/
Drupal/
theme_test/
EventSubscriber/
ThemeTestSubscriber.php
Returns an array of event names this subscriber wants to listen to.
ViewSubscriber::getSubscribedEvents
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
ViewSubscriber.php
Registers the methods in this class that should be listeners.