RouteProviderLazyBuilder::$rebuilt

Flag to determine if the router has been rebuilt. Type: bool File core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 32 Class RouteProviderLazyBuilder A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code protected $rebuilt = FALSE;

RouteProviderLazyBuilder

A Route Provider front-end for all Drupal-stored routes. Hierarchy class \Drupal\Core\Routing\RouteProviderLazyBuilder implements PreloadableRouteProviderInterface, PagedRouteProviderInterface File core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 11 Namespace Drupal\Core\Routing Members Name Modifiers Type Description RouteProviderLazyBuilder::$rebuilt protected property Flag to determine if the router has been rebuilt. RouteProviderLazyBuilder::$routeBu

RouteProviderInterface::reset

public RouteProviderInterface::reset() Resets the route provider object. File core/lib/Drupal/Core/Routing/RouteProviderInterface.php, line 40 Class RouteProviderInterface Extends the router provider interface Namespace Drupal\Core\Routing Code public function reset();

RouteProviderInterface::getRoutesByPattern

public RouteProviderInterface::getRoutesByPattern($pattern) Get all routes which match a certain pattern. Parameters string $pattern: The route pattern to search for (contains {} as placeholders). Return value \Symfony\Component\Routing\RouteCollection Returns a route collection of matching routes. File core/lib/Drupal/Core/Routing/RouteProviderInterface.php, line 23 Class RouteProviderInterface Extends the router provider interface Namespace Drupal\Core\Routing Code public function

RouteProviderInterface::getAllRoutes

public RouteProviderInterface::getAllRoutes() Returns all the routes on the system. Usage of this method is discouraged for performance reasons. If possible, use RouteProviderInterface::getRoutesByNames() or RouteProviderInterface::getRoutesByPattern() instead. Return value \Symfony\Component\Routing\Route[] An iterator of routes keyed by route name. File core/lib/Drupal/Core/Routing/RouteProviderInterface.php, line 35 Class RouteProviderInterface Extends the router provider interface N

RouteProviderInterface

Extends the router provider interface Hierarchy interface \Symfony\Cmf\Component\Routing\RouteProviderInterfaceinterface \Drupal\Core\Routing\RouteProviderInterface See also \Symfony\Cmf\Component\Routing File core/lib/Drupal/Core/Routing/RouteProviderInterface.php, line 12 Namespace Drupal\Core\Routing Members Name Modifiers Type Description RouteProviderInterface::getAllRoutes public function Returns all the routes on the system. RouteProviderInterface::getRouteByN

RouteProvider::__construct

public RouteProvider::__construct(Connection $connection, StateInterface $state, CurrentPathStack $current_path, CacheBackendInterface $cache_backend, InboundPathProcessorInterface $path_processor, CacheTagsInvalidatorInterface $cache_tag_invalidator, $table = 'router') Constructs a new PathMatcher. Parameters \Drupal\Core\Database\Connection $connection: A database connection object. \Drupal\Core\State\StateInterface $state: The state. \Drupal\Core\Path\CurrentPathStack $current_path: The cur

RouteProvider::ROUTE_LOAD_CID_PREFIX

Cache ID prefix used to load routes. File core/lib/Drupal/Core/Routing/RouteProvider.php, line 90 Class RouteProvider A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code const ROUTE_LOAD_CID_PREFIX = 'route_provider.route_load:';

RouteProvider::routeProviderRouteCompare

protected RouteProvider::routeProviderRouteCompare(array $a, array $b) Comparison function for usort on routes. File core/lib/Drupal/Core/Routing/RouteProvider.php, line 363 Class RouteProvider A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code protected function routeProviderRouteCompare(array $a, array $b) { if ($a['fit'] == $b['fit']) { return strcmp($a['name'], $b['name']); } // Reverse sort from highest to lowest fit. PHP should c

RouteProvider::reset

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 public function reset() { $this->routes = array(); $this->serializedRoutes = array(); $this->cacheTagInvalidator->invalidateTags(['routes']); }