Skip to content
Snippets Groups Projects
Commit 4621e01d authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2010982 by somepal, andypost, pplantinga | Samvel: Replace theme() with...

Issue #2010982 by somepal, andypost, pplantinga | Samvel: Replace theme() with drupal_render() in system module for system_status().
parent 5bcf7338
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
...@@ -53,7 +53,7 @@ public function __construct(SystemManager $systemManager) { ...@@ -53,7 +53,7 @@ public function __construct(SystemManager $systemManager) {
public function status() { public function status() {
$requirements = $this->systemManager->listRequirements(); $requirements = $this->systemManager->listRequirements();
$this->systemManager->fixAnonymousUid(); $this->systemManager->fixAnonymousUid();
return theme('status_report', array('requirements' => $requirements)); return array('#theme' => 'status_report', '#requirements' => $requirements);
} }
/** /**
......
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