public function MatcherDumperInterface::addRoutes in Drupal 8
Same name and namespace in other branches
- 9 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);