From 37a67bb8851ce0a8e41d87916bcaf684d96ffc66 Mon Sep 17 00:00:00 2001 From: Jakob Perry Date: Fri, 12 May 2017 15:21:12 -0700 Subject: [PATCH] Issue #2878149 --- core/modules/help/src/Controller/HelpController.php | 5 ----- core/modules/system/system.install | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/core/modules/help/src/Controller/HelpController.php b/core/modules/help/src/Controller/HelpController.php index 74d46ec..51dd54b 100644 --- a/core/modules/help/src/Controller/HelpController.php +++ b/core/modules/help/src/Controller/HelpController.php @@ -117,11 +117,6 @@ public function helpPage($name) { $module_name = $this->moduleHandler()->getName($name); $build['#title'] = $module_name; - $info = system_get_info('module', $name); - if ($info['package'] === 'Core (Experimental)') { - drupal_set_message($this->t('This module is experimental. Experimental modules are provided for testing purposes only. Use at your own risk.', [':url' => 'https://www.drupal.org/core/experimental']), 'warning'); - } - $temp = $this->moduleHandler()->invoke($name, 'help', ["help.page.$name", $this->routeMatch]); if (empty($temp)) { $build['top'] = ['#markup' => $this->t('No help is available for module %module.', ['%module' => $module_name])]; diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 614ad9e..56ce685 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -68,7 +68,7 @@ function system_requirements($phase) { $requirements['experimental'] = [ 'title' => t('Experimental modules enabled'), 'value' => t('Experimental modules found: %module_list. Experimental modules are provided for testing purposes only. Use at your own risk.', ['%module_list' => implode(', ', $experimental), ':url' => 'https://www.drupal.org/core/experimental']), - 'severity' => REQUIREMENT_WARNING, + 'severity' => REQUIREMENT_INFO, ]; } } -- 2.6.4 (Apple Git-63)