public static function PerformanceTestRecorder::getSubscribedEvents in Drupal 9
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/Test/PerformanceTestRecorder.php \Drupal\Core\Test\PerformanceTestRecorder::getSubscribedEvents()
File
- core/
lib/ Drupal/ Core/ Test/ PerformanceTestRecorder.php, line 84
Class
- PerformanceTestRecorder
- Records the number of times specific events occur.
Namespace
Drupal\Core\TestCode
public static function getSubscribedEvents() {
$events = [];
$events[RoutingEvents::FINISHED][] = [
'onRouteBuilderFinish',
-9999999,
];
return $events;
}