public function MockRouteProvider::getAllRoutes in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Tests/Routing/MockRouteProvider.php \Drupal\system\Tests\Routing\MockRouteProvider::getAllRoutes()
- 9 core/modules/system/src/Tests/Routing/MockRouteProvider.php \Drupal\system\Tests\Routing\MockRouteProvider::getAllRoutes()
File
- core/
modules/ system/ src/ Tests/ Routing/ MockRouteProvider.php, line 83
Class
- MockRouteProvider
- Easily configurable mock route provider.
Namespace
Drupal\system\Tests\RoutingCode
public function getAllRoutes() {
return $this->routes
->all();
}