From 40e5531952af47731d6dd0cea6ad5bfb5a703ca9 Mon Sep 17 00:00:00 2001 From: Larry Garfield Date: Sat, 30 Jun 2012 15:40:25 -0500 Subject: [PATCH] Enforce the Drupal RouteCompiler for all routes dumped with our dumper. --- core/lib/Drupal/Core/Routing/MatcherDumper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib/Drupal/Core/Routing/MatcherDumper.php b/core/lib/Drupal/Core/Routing/MatcherDumper.php index 1ca60e4df24..d3e292b5f03 100644 --- a/core/lib/Drupal/Core/Routing/MatcherDumper.php +++ b/core/lib/Drupal/Core/Routing/MatcherDumper.php @@ -90,6 +90,7 @@ class MatcherDumper implements MatcherDumperInterface { )); foreach ($this->routes as $name => $route) { + $route->setOption('compiler_class', '\Drupal\Core\Routing\RouteCompiler'); $compiled = $route->compile(); $values = array( 'name' => $name,