RouteProvider::preLoadRoutes
public function RouteProvider::preLoadRoutes
public RouteProvider::preLoadRoutes($names)
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()
Parameters
string[] $names: Array of route names to load.
Overrides PreloadableRouteProviderInterface::preLoadRoutes
File
- core/lib/Drupal/Core/Routing/登录查看完整内容