Search for event

  1. Search 7.x for event
  2. Search 9.5.x for event
  3. Search 10.3.x for event
  4. Search 11.x for event
  5. Other projects
Title Object type File name Summary
AccessDeniedSubscriber::getSubscribedEvents function core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php
AccountEvents class core/lib/Drupal/Core/Session/AccountEvents.php Defines events for the account system.
AccountEvents.php file core/lib/Drupal/Core/Session/AccountEvents.php
AccountEvents::SET_USER constant core/lib/Drupal/Core/Session/AccountEvents.php Name of the event fired when the current user is set.
AccountProxy::$eventDispatcher property core/lib/Drupal/Core/Session/AccountProxy.php Event dispatcher.
AccountSetEvent class core/lib/Drupal/Core/Session/AccountSetEvent.php Event fired when an account is set for the current session.
AccountSetEvent.php file core/lib/Drupal/Core/Session/AccountSetEvent.php
AccountSetEvent::$account property core/lib/Drupal/Core/Session/AccountSetEvent.php The set account.
AccountSetEvent::getAccount function core/lib/Drupal/Core/Session/AccountSetEvent.php Gets the account.
AccountSetEvent::__construct function core/lib/Drupal/Core/Session/AccountSetEvent.php AccountSetEvent constructor.
ActiveLinkResponseFilter::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php
AdminRouteSubscriber::getSubscribedEvents function core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php
AjaxResponseSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php
AllowedPackages::event function composer/Plugin/Scaffold/AllowedPackages.php Handles package events during a 'composer require' operation.
AnonymousUserResponseSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php Registers the methods in this class that should be listeners.
AuthenticationSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php
AutomatedCron::getSubscribedEvents function core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php Registers the methods in this class that should be listeners.
BcConfigSubscriber::getSubscribedEvents function core/modules/serialization/src/EventSubscriber/BcConfigSubscriber.php
BigPipe::$eventDispatcher property core/modules/big_pipe/src/Render/BigPipe.php The event dispatcher.
BigPipeTestSubscriber::getSubscribedEvents function core/modules/big_pipe/tests/modules/big_pipe_test/src/EventSubscriber/BigPipeTestSubscriber.php
BlockComponentRenderArray::getSubscribedEvents function core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php
BlockContentAccessControlHandler::$eventDispatcher property core/modules/block_content/src/BlockContentAccessControlHandler.php The event dispatcher.
BlockContentEvents class core/modules/block_content/src/BlockContentEvents.php Defines events for the block_content module.
BlockContentEvents.php file core/modules/block_content/src/BlockContentEvents.php
BlockContentEvents::BLOCK_CONTENT_GET_DEPENDENCY constant core/modules/block_content/src/BlockContentEvents.php Name of the event when getting the dependency of a non-reusable block.
BlockContentGetDependencyEvent class core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php Block content event to allow setting an access dependency.
BlockContentGetDependencyEvent.php file core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php
BlockContentGetDependencyEvent::$accessDependency property core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php The dependency.
BlockContentGetDependencyEvent::$blockContent property core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php The block content entity.
BlockContentGetDependencyEvent::getAccessDependency function core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php Gets the access dependency.
BlockContentGetDependencyEvent::getBlockContentEntity function core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php Gets the block content entity.
BlockContentGetDependencyEvent::setAccessDependency function core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php Sets the access dependency.
BlockContentGetDependencyEvent::__construct function core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php BlockContentGetDependencyEvent constructor.
BlockPageDisplayVariantSubscriber::getSubscribedEvents function core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php
BlockPlaceEventSubscriber class core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php
BlockPlaceEventSubscriber.php file core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php
BlockPlaceEventSubscriber::$account property core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php The current user.
BlockPlaceEventSubscriber::$requestStack property core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php The request stack.
BlockPlaceEventSubscriber::getSubscribedEvents function core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php
BlockPlaceEventSubscriber::onBlockPageDisplayVariantSelected function core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php Selects the block place override of the block page display variant.
BlockPlaceEventSubscriber::__construct function core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php Constructs a \Drupal\block_place\EventSubscriber\BlockPlaceEventSubscriber object.
CacheRouterRebuildSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/CacheRouterRebuildSubscriber.php
ClientErrorResponseSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/ClientErrorResponseSubscriber.php
ColorConfigCacheInvalidator::getSubscribedEvents function core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php
Config::$eventDispatcher property core/lib/Drupal/Core/Config/Config.php An event dispatcher instance to use for configuration events.
ConfigCacheTag::getSubscribedEvents function core/modules/system/src/EventSubscriber/ConfigCacheTag.php
ConfigCrudEvent class core/lib/Drupal/Core/Config/ConfigCrudEvent.php Wraps a configuration event for event listeners.
ConfigCrudEvent.php file core/lib/Drupal/Core/Config/ConfigCrudEvent.php
ConfigCrudEvent::$config property core/lib/Drupal/Core/Config/ConfigCrudEvent.php Configuration object.
ConfigCrudEvent::getConfig function core/lib/Drupal/Core/Config/ConfigCrudEvent.php Gets configuration object.

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