function RouteBuilderInterface::rebuildIfNeeded

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/RouteBuilderInterface.php \Drupal\Core\Routing\RouteBuilderInterface::rebuildIfNeeded()
  2. 8.9.x 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.

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.