Skip to content
Snippets Groups Projects
Commit 40e55319 authored by Larry Garfield's avatar Larry Garfield Committed by Alex Bronstein
Browse files

Enforce the Drupal RouteCompiler for all routes dumped with our dumper.

parent e9a95aa1
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -90,6 +90,7 @@ public function dump(array $options = array()) {
));
foreach ($this->routes as $name => $route) {
$route->setOption('compiler_class', '\Drupal\Core\Routing\RouteCompiler');
$compiled = $route->compile();
$values = array(
'name' => $name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment