class Event in Drupal 10
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/EventDispatcher/Event.php \Drupal\Component\EventDispatcher\Event
Provides a forward-compatibility layer for the Symfony 5 event class.
Symfony 5 relies on the Symfony\Contracts\EventDispatcher\Event class. In order to prepare for updates, code that wishes to extend Symfony's Event class should extend this intermediary class, which will handle switching from Symfony\Component to Symfony\Contracts without a further change.
Hierarchy
- class \Drupal\Component\EventDispatcher\Event extends \Symfony\Contracts\EventDispatcher\Event
Expanded class hierarchy of Event
30 files declare their use of Event
- AccountSetEvent.php in core/
lib/ Drupal/ Core/ Session/ AccountSetEvent.php - BlockContentGetDependencyEvent.php in core/
modules/ block_content/ src/ Event/ BlockContentGetDependencyEvent.php - ConfigCollectionInfo.php in core/
lib/ Drupal/ Core/ Config/ ConfigCollectionInfo.php - ConfigCrudEvent.php in core/
lib/ Drupal/ Core/ Config/ ConfigCrudEvent.php - ConfigImporterEvent.php in core/
lib/ Drupal/ Core/ Config/ ConfigImporterEvent.php
4 string references to 'Event'
- drupal6.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal6.php - A database agnostic dump for testing purposes.
- MultilingualReviewPageTest::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ MultilingualReviewPageTest.php - NoMultilingualReviewPageTest::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ NoMultilingualReviewPageTest.php - Gets the available upgrade paths.
- Upgrade6Test::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ Upgrade6Test.php
File
- core/
lib/ Drupal/ Component/ EventDispatcher/ Event.php, line 15
Namespace
Drupal\Component\EventDispatcherView source
class Event extends SymfonyEvent {
}