RouteBuilder::setRebuildNeeded

public RouteBuilder::setRebuildNeeded()

Sets the router to be rebuilt next time rebuildIfNeeded() is called.

Overrides RouteBuilderInterface::setRebuildNeeded

File

core/lib/Drupal/Core/Routing/RouteBuilder.php, line 112

Class

RouteBuilder
Managing class for rebuilding the router table.

Namespace

Drupal\Core\Routing

Code

public function setRebuildNeeded() {
  $this->rebuildNeeded = TRUE;
}
doc_Drupal
2016-10-29 09:39:01
Comments
Leave a Comment

Please login to continue.