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()
string[] $names: Array of route names to load.
public function preLoadRoutes($names);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!PreloadableRouteProviderInterface.php/function/PreloadableRouteProviderInterface::preLoadRoutes/8.1.x