Skip to content
Snippets Groups Projects
Commit fdcd2d2a authored by Lin Clark's avatar Lin Clark Committed by Alex Bronstein
Browse files

Fixed old style subrequests by running through drupal_render_page.

parent ea8d2911
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
......@@ -69,7 +69,7 @@ public function onView(GetResponseForControllerResultEvent $event) {
'#markup' => $page_result,
);
}
$event->setResponse(new Response(drupal_render($page_result)));
$event->setResponse(new Response(drupal_render_page($page_result)));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment