Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RouteProviderLazyBuilder.php

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\Routing

Code

protected $rebuilding = FALSE;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal