function MatcherDumperInterface::addRoutes
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface::addRoutes()
- 10 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface::addRoutes()
- 11.x 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 19
Class
- MatcherDumperInterface
- Extends the symfony matcher dumper interface with a addRoutes method.
Namespace
Drupal\Core\RoutingCode
public function addRoutes(RouteCollection $routes);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.