function StageEventsTest::getSubscribedEvents
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ StageEventsTest.php, line 71
Class
- StageEventsTest
- Tests that the stage fires events during its lifecycle.
Namespace
Drupal\Tests\package_manager\KernelCode
public static function getSubscribedEvents() : array {
return [
PreCreateEvent::class => 'handleEvent',
PostCreateEvent::class => 'handleEvent',
PreRequireEvent::class => 'handleEvent',
PostRequireEvent::class => 'handleEvent',
PreApplyEvent::class => 'handleEvent',
PostApplyEvent::class => 'handleEvent',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.