class TestRouteProvider in Drupal 9
Same name in this branch
- 9 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestRouteProvider
- 9 core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php \Drupal\KernelTests\Core\Routing\TestRouteProvider
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php \Drupal\KernelTests\Core\Routing\TestRouteProvider
Hierarchy
- class \Drupal\Core\Routing\RouteProvider implements \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 783 - 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. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
protected | function | Returns the cache ID for the route collection cache. | |
RouteProvider:: |
public | function |
Finds routes that may potentially match the request. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
public | function |
Find many routes by their names using the provided list of names. Overrides RouteProviderInterface:: |
|
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 | Gets the total count of routes provided by the router. | |
RouteProvider:: |
public | function | Returns a chunk of routes. | |
RouteProvider:: |
public static | function | ||
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:: |