PreloadableRouteProviderInterface::preLoadRoutes

public PreloadableRouteProviderInterface::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.

File

core/lib/Drupal/Core/Routing/PreloadableRouteProviderInterface.php, line 20

Class

PreloadableRouteProviderInterface
Extends the router provider interface to pre-load routes.

Namespace

Drupal\Core\Routing

Code

public function preLoadRoutes($names);
doc_Drupal
2016-10-29 09:34:52
Comments
Leave a Comment

Please login to continue.