You are here

class RouteProvider in Drupal 8

Same name in this branch
  1. 8 core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider
  2. 8 core/modules/simpletest/src/RouteProvider.php \Drupal\simpletest\RouteProvider
  3. 8 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider

Rebuilds the router when the provider is instantiated.

Hierarchy

Expanded class hierarchy of RouteProvider

Deprecated

in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\KernelTests\RouteProvider instead.

See also

https://www.drupal.org/node/2943146

File

core/modules/simpletest/src/RouteProvider.php, line 15

Namespace

Drupal\simpletest
View source
class RouteProvider extends CoreRouteProvider {

}

Members

Namesort descending Modifiers Type Description Overrides
DependencySerializationTrait::$_entityStorages protected property An array of entity type IDs keyed by the property name of their storages.
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::__sleep public function 1
DependencySerializationTrait::__wakeup public function 2
RouteProvider::getAllRoutes public function Returns all the routes on the system. Overrides RouteProviderInterface::getAllRoutes
RouteProvider::getCandidateOutlines public function
RouteProvider::getRouteByName public function Find the route using the provided route name.
RouteProvider::getRouteCollectionForRequest public function Finds routes that may potentially match the request.
RouteProvider::getRoutesByNames public function Find many routes by their names using the provided list of names.
RouteProvider::getRoutesByPattern public function Get all routes which match a certain pattern. Overrides RouteProviderInterface::getRoutesByPattern
RouteProvider::getRoutesCount public function Determines the total amount of routes.
RouteProvider::getRoutesPaged public function Find an amount of routes with an offset and possible a limit.
RouteProvider::lazyLoadItself protected function Loads the real route provider from the container and rebuilds the router.
RouteProvider::preLoadRoutes public function Pre-load routes by their names using the provided list of names. Overrides PreloadableRouteProviderInterface::preLoadRoutes
RouteProvider::reset public function Resets the route provider object. Overrides RouteProviderInterface::reset
RouteProvider::routeProviderRouteCompare public function