Mercurial > hg > isophonics-drupal-site
diff core/modules/system/src/Controller/SystemController.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/modules/system/src/Controller/SystemController.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/modules/system/src/Controller/SystemController.php Thu Feb 28 13:21:36 2019 +0000 @@ -100,7 +100,7 @@ public function overview($link_id) { // Check for status report errors. if ($this->systemManager->checkRequirements() && $this->currentUser()->hasPermission('administer site configuration')) { - drupal_set_message($this->t('One or more problems were detected with your Drupal installation. Check the <a href=":status">status report</a> for more information.', [':status' => $this->url('system.status')]), 'error'); + $this->messenger()->addError($this->t('One or more problems were detected with your Drupal installation. Check the <a href=":status">status report</a> for more information.', [':status' => $this->url('system.status')])); } // Load all menu links below it. $parameters = new MenuTreeParameters(); @@ -187,7 +187,7 @@ uasort($themes, 'system_sort_modules_by_info_name'); $theme_default = $config->get('default'); - $theme_groups = ['installed' => [], 'uninstalled' => []]; + $theme_groups = ['installed' => [], 'uninstalled' => []]; $admin_theme = $config->get('admin'); $admin_theme_options = [];