You are here

interface RouteBuilderInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/RouteBuilderInterface.php \Drupal\Core\Routing\RouteBuilderInterface

Hierarchy

Expanded class hierarchy of RouteBuilderInterface

All classes that implement RouteBuilderInterface

4 files declare their use of RouteBuilderInterface
RouterRebuildSubscriber.php in core/lib/Drupal/Core/EventSubscriber/RouterRebuildSubscriber.php
Contains \Drupal\Core\EventSubscriber\RouterRebuildSubscriber.
SystemConfigSubscriber.php in core/modules/system/src/SystemConfigSubscriber.php
Contains \Drupal\system\SystemConfigSubscriber.
ThemeController.php in core/modules/system/src/Controller/ThemeController.php
Contains \Drupal\system\Controller\ThemeController.
ThemeInstaller.php in core/lib/Drupal/Core/Extension/ThemeInstaller.php
Contains \Drupal\Core\Extension\ThemeInstaller.

File

core/lib/Drupal/Core/Routing/RouteBuilderInterface.php, line 10
Contains \Drupal\Core\Routing\RouteBuilderInterface.

Namespace

Drupal\Core\Routing
View source
interface RouteBuilderInterface {

  /**
   * Rebuilds the route info and dumps to dumper.
   *
   * @return bool
   *   Returns TRUE if the rebuild succeeds, FALSE otherwise.
   */
  public function rebuild();

  /**
   * Rebuilds the route info and dumps to dumper if necessary.
   *
   * @return bool
   *   Returns TRUE if the rebuild occurs, FALSE otherwise.
   */
  public function rebuildIfNeeded();

  /**
   * Sets the router to be rebuilt next time rebuildIfNeeded() is called.
   */
  public function setRebuildNeeded();

}

Members

Namesort descending Modifiers Type Description Overrides
RouteBuilderInterface::rebuild public function Rebuilds the route info and dumps to dumper. 2
RouteBuilderInterface::rebuildIfNeeded public function Rebuilds the route info and dumps to dumper if necessary. 2
RouteBuilderInterface::setRebuildNeeded public function Sets the router to be rebuilt next time rebuildIfNeeded() is called. 2