function PerformanceTestRecorder::getSubscribedEvents
Same name in other branches
- 9 core/lib/Drupal/Core/Test/PerformanceTestRecorder.php \Drupal\Core\Test\PerformanceTestRecorder::getSubscribedEvents()
- 11.x core/lib/Drupal/Core/Test/PerformanceTestRecorder.php \Drupal\Core\Test\PerformanceTestRecorder::getSubscribedEvents()
File
-
core/
lib/ Drupal/ Core/ Test/ PerformanceTestRecorder.php, line 82
Class
- PerformanceTestRecorder
- Records the number of times specific events occur.
Namespace
Drupal\Core\TestCode
public static function getSubscribedEvents() : array {
$events = [];
$events[RoutingEvents::FINISHED][] = [
'onRouteBuilderFinish',
-9999999,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.