class InstallerRouteBuilder

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Installer/InstallerRouteBuilder.php \Drupal\Core\Installer\InstallerRouteBuilder
  2. 10 core/lib/Drupal/Core/Installer/InstallerRouteBuilder.php \Drupal\Core\Installer\InstallerRouteBuilder
  3. 11.x core/lib/Drupal/Core/Installer/InstallerRouteBuilder.php \Drupal\Core\Installer\InstallerRouteBuilder

Manages the router in the installer.

Hierarchy

Expanded class hierarchy of InstallerRouteBuilder

File

core/lib/Drupal/Core/Installer/InstallerRouteBuilder.php, line 10

Namespace

Drupal\Core\Installer
View source
class InstallerRouteBuilder extends RouteBuilder {
    
    /**
     * {@inheritdoc}
     *
     * Overridden to return no routes.
     *
     * @todo Convert installer steps into routes; add an installer.routing.yml.
     */
    protected function getRouteDefinitions() {
        return [];
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
InstallerRouteBuilder::getRouteDefinitions protected function Overridden to return no routes. Overrides RouteBuilder::getRouteDefinitions
RouteBuilder::$building protected property Flag that indicates if we are currently rebuilding the routes.
RouteBuilder::$checkProvider protected property The check provider.
RouteBuilder::$controllerResolver protected property The controller resolver.
RouteBuilder::$dispatcher protected property The event dispatcher to notify of routes.
RouteBuilder::$dumper protected property The dumper to which we should send collected routes.
RouteBuilder::$lock protected property The used lock backend instance.
RouteBuilder::$moduleHandler protected property The module handler.
RouteBuilder::$rebuildNeeded protected property Flag that indicates if we should rebuild at the end of the request.
RouteBuilder::$routeCollection protected property The route collection during the rebuild.
RouteBuilder::destruct public function Performs destruct operations. Overrides DestructableInterface::destruct
RouteBuilder::rebuild public function Rebuilds the route information and dumps it. Overrides RouteBuilderInterface::rebuild
RouteBuilder::rebuildIfNeeded public function Rebuilds the route information if necessary, and dumps it. Overrides RouteBuilderInterface::rebuildIfNeeded
RouteBuilder::setRebuildNeeded public function Sets the router to be rebuilt next time rebuildIfNeeded() is called. Overrides RouteBuilderInterface::setRebuildNeeded
RouteBuilder::__construct public function Constructs the RouteBuilder using the passed MatcherDumperInterface.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.