public RouteProvider::reset()
Resets the route provider object.
Overrides RouteProviderInterface::reset
File
- core/lib/Drupal/Core/Routing/RouteProvider.php, line 382
Class
- RouteProvider
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\Routing
Code
1 2 3 4 5 | public function reset() { $this ->routes = array (); $this ->serializedRoutes = array (); $this ->cacheTagInvalidator->invalidateTags([ 'routes' ]); } |
Please login to continue.