function PerformanceTestRecorder::onRouteBuilderFinish
Same name in other branches
- 9 core/lib/Drupal/Core/Test/PerformanceTestRecorder.php \Drupal\Core\Test\PerformanceTestRecorder::onRouteBuilderFinish()
- 11.x core/lib/Drupal/Core/Test/PerformanceTestRecorder.php \Drupal\Core\Test\PerformanceTestRecorder::onRouteBuilderFinish()
Records a router rebuild.
File
-
core/
lib/ Drupal/ Core/ Test/ PerformanceTestRecorder.php, line 75
Class
- PerformanceTestRecorder
- Records the number of times specific events occur.
Namespace
Drupal\Core\TestCode
public function onRouteBuilderFinish() {
$this->record('event', RoutingEvents::FINISHED);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.