function LazyRouteCollection::all
Same name in other branches
- 10 core/lib/Drupal/Core/Routing/LazyRouteCollection.php \Drupal\Core\Routing\LazyRouteCollection::all()
- 11.x core/lib/Drupal/Core/Routing/LazyRouteCollection.php \Drupal\Core\Routing\LazyRouteCollection::all()
Returns all routes in this collection.
Return value
\Symfony\Component\Routing\Route[] An array of routes
2 calls to LazyRouteCollection::all()
- LazyRouteCollection::count in core/
lib/ Drupal/ Core/ Routing/ LazyRouteCollection.php - Gets the number of Routes in this collection.
- LazyRouteCollection::getIterator in core/
lib/ Drupal/ Core/ Routing/ LazyRouteCollection.php
File
-
core/
lib/ Drupal/ Core/ Routing/ LazyRouteCollection.php, line 47
Class
Namespace
Drupal\Core\RoutingCode
public function all() {
return $this->provider
->getRoutesByNames(NULL);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.