RouteProviderLazyBuilder::$rebuilding
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::rebuilding
- 10 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::rebuilding
- 11.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::rebuilding
Flag to determine if router is currently being rebuilt.
Used to prevent recursive router rebuilds during module installation. Recursive rebuilds can occur when route information is required by alter hooks that are triggered during a rebuild, for example, hook_menu_links_discovered_alter().
Type: bool
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteProviderLazyBuilder.php, line 44
Class
- RouteProviderLazyBuilder
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\RoutingCode
protected $rebuilding = FALSE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.