function 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/ Routing/ MatcherDumper.php - Adds additional routes to be dumped.
- MatcherDumper::addRoutes in core/
lib/ Drupal/ Core/ ProxyClass/ 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 19
Class
- MatcherDumperInterface
- Extends the symfony matcher dumper interface with an addRoutes method.
Namespace
Drupal\Core\RoutingCode
public function addRoutes(RouteCollection $routes);