You are here

public function RouteProviderLazyBuilder::routerRebuildFinished in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::routerRebuildFinished()
  2. 9 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::routerRebuildFinished()

Sets the router rebuilding flag to FALSE.

File

core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 151

Class

RouteProviderLazyBuilder
A Route Provider front-end for all Drupal-stored routes.

Namespace

Drupal\Core\Routing

Code

public function routerRebuildFinished() {
  $this->rebuilding = FALSE;
  $this->rebuilt = TRUE;
}