You are here

public function RouteBuilderInterface::rebuildIfNeeded in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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();