interface PreloadableRouteProviderInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Routing/PreloadableRouteProviderInterface.php \Drupal\Core\Routing\PreloadableRouteProviderInterface
Extends the router provider interface to pre-load routes.
Hierarchy
- interface \Symfony\Cmf\Component\Routing\RouteProviderInterface
- interface \Drupal\Core\Routing\RouteProviderInterface
- interface \Drupal\Core\Routing\PreloadableRouteProviderInterface
- interface \Drupal\Core\Routing\RouteProviderInterface
Expanded class hierarchy of PreloadableRouteProviderInterface
All classes that implement PreloadableRouteProviderInterface
File
- core/
lib/ Drupal/ Core/ Routing/ PreloadableRouteProviderInterface.php, line 13 - Contains \Drupal\Core\Routing\PreloadableRouteProviderInterface.
Namespace
Drupal\Core\RoutingView source
interface PreloadableRouteProviderInterface extends RouteProviderInterface {
/**
* Pre-load routes by their names using the provided list of names.
*
* This method exists in order to allow performance optimizations. It allows
* pre-loading serialized routes that may latter be retrieved using
* ::getRoutesByName()
*
* @param string[] $names
* Array of route names to load.
*/
public function preLoadRoutes($names);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PreloadableRouteProviderInterface:: |
public | function | Pre-load routes by their names using the provided list of names. | 1 |
RouteProviderInterface:: |
public | function | Returns all the routes on the system. | 2 |
RouteProviderInterface:: |
public | function | Find the route using the provided route name. | 2 |
RouteProviderInterface:: |
public | function | Finds routes that may potentially match the request. | 2 |
RouteProviderInterface:: |
public | function | Find many routes by their names using the provided list of names. | 2 |
RouteProviderInterface:: |
public | function | Get all routes which match a certain pattern. | 2 |
RouteProviderInterface:: |
public | function | Resets the route provider object. | 2 |