public function AccessAwareRouter::getRouteCollection in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::getRouteCollection()
File
- core/
lib/ Drupal/ Core/ Routing/ AccessAwareRouter.php, line 128
Class
- AccessAwareRouter
- A router class for Drupal with access check and upcasting.
Namespace
Drupal\Core\RoutingCode
public function getRouteCollection() {
if ($this->router instanceof RouterInterface) {
return $this->router
->getRouteCollection();
}
}