public function RouteBuilderInterface::rebuildIfNeeded in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/RouteBuilderInterface.php \Drupal\Core\Routing\RouteBuilderInterface::rebuildIfNeeded()
- 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/ Routing/ RouteBuilder.php - Rebuilds the route information if necessary, and dumps it.
- RouteBuilder::rebuildIfNeeded in core/
lib/ Drupal/ Core/ ProxyClass/ 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\RoutingCode
public function rebuildIfNeeded();