Search for dispatch

  1. Search 7.x for dispatch
  2. Search 9.5.x for dispatch
  3. Search 8.9.x for dispatch
  4. Search 11.x for dispatch
  5. Other projects
Title Object type File name Summary
ContainerAwareEventDispatcherTest::testDispatchWithCallables function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testDispatchWithServices function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testEventReceivesTheDispatcherInstanceAsArgument function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testGetAllListenersSortsByPriority function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testGetLazyListeners function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testGetListenerPriority function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testGetListenerPriorityWithServices function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testGetListenersSortsByPriority function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testGetListenersWhenAddedCallbackListenerIsRemoved function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testGetListenersWithCallables function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testGetListenersWithServices function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testHasListenersIsLazy function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testHasListenersWhenAddedCallbackListenerIsRemoved function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testInitialState function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testPriorityFindsLazyListeners function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testRemoveFindsLazyListeners function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testRemoveListener function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testRemoveService function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testRemoveSubscriber function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testRemoveSubscriberWithMultipleListeners function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testRemoveSubscriberWithPriorities function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testStopEventPropagation function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testSymfonyEventDispatching function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php Tests dispatching Symfony events with core's event dispatcher.
ContainerAwareEventDispatcherTest::testWorkaroundForPhpBug62976 function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php This bug affects:
DatabaseEventsTest::testEventDispatchingWhenNoContainerAvailable function core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @covers ::dispatchEvent
EntityFieldManagerTest::$eventDispatcher property core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php The event dispatcher.
EntityTypeListener::$eventDispatcher property core/lib/Drupal/Core/Entity/EntityTypeListener.php The event dispatcher.
event_dispatcher service core/core.services.yml Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher
ExportStorageManager::$eventDispatcher property core/lib/Drupal/Core/Config/ExportStorageManager.php The event dispatcher.
FieldStorageDefinitionListener::$eventDispatcher property core/lib/Drupal/Core/Field/FieldStorageDefinitionListener.php The event dispatcher.
FileUploadHandler::$eventDispatcher property core/modules/file/src/Upload/FileUploadHandler.php The event dispatcher.
FormBuilder::$eventDispatcher property core/lib/Drupal/Core/Form/FormBuilder.php The event dispatcher.
FormTestBase::$eventDispatcher property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The event dispatcher.
GotoAction::$dispatcher property core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php The event dispatcher service.
HtmlRenderer::$eventDispatcher property core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php The event dispatcher.
ImportStorageTransformer::$eventDispatcher property core/lib/Drupal/Core/Config/ImportStorageTransformer.php The event dispatcher to get changes to the configuration.
LanguageConfigFactoryOverride::$eventDispatcher property core/modules/language/src/Config/LanguageConfigFactoryOverride.php An event dispatcher instance to use for configuration events.
LanguageConfigOverride::$eventDispatcher property core/modules/language/src/Config/LanguageConfigOverride.php The event dispatcher.
LanguageConfigOverrideTest::$eventDispatcher property core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php Event Dispatcher.
LayoutBuilder::$eventDispatcher property core/modules/layout_builder/src/Element/LayoutBuilder.php The event dispatcher.
MaintenanceModeSubscriber::$eventDispatcher property core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php An event dispatcher instance to use for configuration events.
MigrateExecutable::$eventDispatcher property core/modules/migrate/src/MigrateExecutable.php The event dispatcher.
MigrateExecutable::getEventDispatcher function core/modules/migrate/src/MigrateExecutable.php Gets the event dispatcher.
MigrateExecutableTest::$eventDispatcher property core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php A mocked event dispatcher.
Psr\EventDispatcher\EventDispatcherInterface service core/core.services.yml
ResourceTypeRepository::$eventDispatcher property core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php The event dispatcher.
RouteBuilder::$dispatcher property core/lib/Drupal/Core/Routing/RouteBuilder.php The event dispatcher to notify of routes.
RouteBuilderTest::$dispatcher property core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php The mocked event dispatcher.
SectionComponent::eventDispatcher function core/modules/layout_builder/src/SectionComponent.php Wraps the event dispatcher.

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