protected property RouteProviderLazyBuilder::$rebuilding in Drupal 9
Same name and namespace in other branches
- 8 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;