class TestRouteProvider in Zircon Profile 8
Same name in this branch
- 8 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestRouteProvider
- 8 core/modules/system/src/Tests/Routing/RouteProviderTest.php \Drupal\system\Tests\Routing\TestRouteProvider
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Routing/RouteProviderTest.php \Drupal\system\Tests\Routing\TestRouteProvider
Hierarchy
- class \Drupal\Core\Routing\RouteProvider implements PreloadableRouteProviderInterface, PagedRouteProviderInterface, EventSubscriberInterface
- class \Drupal\system\Tests\Routing\TestRouteProvider
Expanded class hierarchy of TestRouteProvider
File
- core/
modules/ system/ src/ Tests/ Routing/ RouteProviderTest.php, line 617 - Contains \Drupal\system\Tests\Routing\RouteProviderTest.
Namespace
Drupal\system\Tests\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 | 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 |
Returns all the routes on the system. Overrides RouteProviderInterface:: |
|
RouteProvider:: |
public | function |
Find the route using the provided route name (and parameters). Overrides RouteProviderInterface:: |
|
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 |
Determines the total amount of routes. Overrides PagedRouteProviderInterface:: |
|
RouteProvider:: |
public | function |
Find an amount of routes with an offset and possible a limit. Overrides PagedRouteProviderInterface:: |
|
RouteProvider:: |
static | function |
Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface:: |
|
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:: |