Mercurial > hg > isophonics-drupal-site
diff core/modules/help/src/Controller/HelpController.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
line wrap: on
line diff
--- a/core/modules/help/src/Controller/HelpController.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/modules/help/src/Controller/HelpController.php Thu Feb 28 13:21:36 2019 +0000 @@ -120,7 +120,7 @@ $info = system_get_info('module', $name); if ($info['package'] === 'Core (Experimental)') { - drupal_set_message($this->t('This module is experimental. <a href=":url">Experimental modules</a> are provided for testing purposes only. Use at your own risk.', [':url' => 'https://www.drupal.org/core/experimental']), 'warning'); + $this->messenger()->addWarning($this->t('This module is experimental. <a href=":url">Experimental modules</a> are provided for testing purposes only. Use at your own risk.', [':url' => 'https://www.drupal.org/core/experimental'])); } $temp = $this->moduleHandler()->invoke($name, 'help', ["help.page.$name", $this->routeMatch]);