Fixed old style subrequests by running through drupal_render_page.
parent
ea8d2911b7
commit
fdcd2d2a73
|
@ -69,7 +69,7 @@ class ViewSubscriber implements EventSubscriberInterface {
|
||||||
'#markup' => $page_result,
|
'#markup' => $page_result,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$event->setResponse(new Response(drupal_render($page_result)));
|
$event->setResponse(new Response(drupal_render_page($page_result)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue