function RouteBuilderInterface::rebuildIfNeeded

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Routing/RouteBuilderInterface.php \Drupal\Core\Routing\RouteBuilderInterface::rebuildIfNeeded()
  2. 10 core/lib/Drupal/Core/Routing/RouteBuilderInterface.php \Drupal\Core\Routing\RouteBuilderInterface::rebuildIfNeeded()
  3. 11.x core/lib/Drupal/Core/Routing/RouteBuilderInterface.php \Drupal\Core\Routing\RouteBuilderInterface::rebuildIfNeeded()

Rebuilds the route information if necessary, and dumps it.

Return value

bool Returns TRUE if the rebuild occurs, FALSE otherwise.

2 methods override RouteBuilderInterface::rebuildIfNeeded()
RouteBuilder::rebuildIfNeeded in core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php
Rebuilds the route information if necessary, and dumps it.
RouteBuilder::rebuildIfNeeded in core/lib/Drupal/Core/Routing/RouteBuilder.php
Rebuilds the route information if necessary, and dumps it.

File

core/lib/Drupal/Core/Routing/RouteBuilderInterface.php, line 38

Class

RouteBuilderInterface
Rebuilds the route information and dumps it.

Namespace

Drupal\Core\Routing

Code

public function rebuildIfNeeded();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.