W3cubDocs

/Drupal 8

public function RouteBuilderInterface::rebuildIfNeeded

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!RouteBuilderInterface.php/function/RouteBuilderInterface::rebuildIfNeeded/8.1.x