function RouteProvider::reset
Resets the route provider object.
Overrides RouteProviderInterface::reset
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteProvider.php, line 418
Class
- RouteProvider
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\RoutingCode
public function reset() {
$this->routes = [];
$this->serializedRoutes = [];
$this->cacheTagInvalidator
->invalidateTags([
'routes',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.