You are here

public function MatcherDumperInterface::addRoutes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface::addRoutes()

Adds additional routes to be dumped.

Parameters

\Symfony\Component\Routing\RouteCollection $routes: A collection of routes to add to this dumper.

3 methods override MatcherDumperInterface::addRoutes()
MatcherDumper::addRoutes in core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php
Adds additional routes to be dumped.
MatcherDumper::addRoutes in core/lib/Drupal/Core/Routing/MatcherDumper.php
Adds additional routes to be dumped.
NullMatcherDumper::addRoutes in core/lib/Drupal/Core/Routing/NullMatcherDumper.php
Adds additional routes to be dumped.

File

core/lib/Drupal/Core/Routing/MatcherDumperInterface.php, line 24
Contains \Drupal\Core\Routing\MatcherDumperInterface.

Class

MatcherDumperInterface
Extends the symfony matcher dumper interface with a addRoutes method.

Namespace

Drupal\Core\Routing

Code

public function addRoutes(RouteCollection $routes);