class TestRouteProvider in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestRouteProvider
- 8 core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php \Drupal\KernelTests\Core\Routing\TestRouteProvider
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php \Drupal\KernelTests\Core\Routing\TestRouteProvider
Hierarchy
- class \Drupal\Core\Routing\RouteProvider implements \Symfony\Cmf\Component\Routing\PagedRouteProviderInterface, \Symfony\Component\EventDispatcher\EventSubscriberInterface, CacheableRouteProviderInterface, PreloadableRouteProviderInterface
- class \Drupal\KernelTests\Core\Routing\TestRouteProvider
Expanded class hierarchy of TestRouteProvider
File
- core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php, line 735 - Contains \Drupal\KernelTests\Core\Routing\RouteProviderTest.
Namespace
Drupal\KernelTests\Core\RoutingView source
class TestRouteProvider extends RouteProvider {
public function getCandidateOutlines(array $parts) {
return parent::getCandidateOutlines($parts);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RouteProvider:: |
protected | property | The cache backend. | |
RouteProvider:: |
protected | property | The cache tag invalidator. | |
RouteProvider:: |
protected | property | The database connection from which to read route information. | |
RouteProvider:: |
protected | property | The current path. | |
RouteProvider:: |
protected | property | An array of cache key parts to be used for the route match cache. | |
RouteProvider:: |
protected | property | The language manager. | |
RouteProvider:: |
protected | property | A path processor manager for resolving the system path. | |
RouteProvider:: |
protected | property | A cache of already-loaded routes, keyed by route name. | |
RouteProvider:: |
protected | property | A cache of already-loaded serialized routes, keyed by route name. | |
RouteProvider:: |
protected | property | The state. | |
RouteProvider:: |
protected | property | The name of the SQL table from which to read the routes. | |
RouteProvider:: |
public | function |
Adds a cache key part to be used in the cache ID of the route collection. Overrides CacheableRouteProviderInterface:: |
|
RouteProvider:: |
public | function |
Returns all the routes on the system. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
protected | function | Returns the language identifier for the route collection cache. | |
RouteProvider:: |
public | function | Find the route using the provided route name. | |
RouteProvider:: |
protected | function | Returns the cache ID for the route collection cache. | |
RouteProvider:: |
public | function | Finds routes that may potentially match the request. | |
RouteProvider:: |
public | function | Find many routes by their names using the provided list of names. | |
RouteProvider:: |
protected | function | Get all routes which match a certain pattern. | |
RouteProvider:: |
public | function |
Get all routes which match a certain pattern. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
public | function | Determines the total amount of routes. | |
RouteProvider:: |
public | function | Find an amount of routes with an offset and possible a limit. | |
RouteProvider:: |
public static | function | Returns an array of event names this subscriber wants to listen to. | |
RouteProvider:: |
public | function |
Pre-load routes by their names using the provided list of names. Overrides PreloadableRouteProviderInterface:: |
|
RouteProvider:: |
public | function |
Resets the route provider object. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
protected | function | Comparison function for usort on routes. | |
RouteProvider:: |
constant | Cache ID prefix used to load routes. | ||
RouteProvider:: |
public | function | Constructs a new PathMatcher. | |
TestRouteProvider:: |
public | function |
Returns an array of path pattern outlines that could match the path parts. Overrides RouteProvider:: |