function DevelHooks::runtimeRequirements
Implements hook_runtime_requirements().
Attributes
#[Hook('runtime_requirements')]
File
-
src/
Hook/ DevelHooks.php, line 93
Class
- DevelHooks
- Hook implementations for devel.
Namespace
Drupal\devel\HookCode
public function runtimeRequirements() : array {
// To understand the reasons why this message is marked as info see
// https://www.drupal.org/node/2834400.
$requirements['devel'] = [
'title' => $this->t('Devel module enabled'),
'description' => $this->t("The Devel module provides access to internal debugging information; therefore it's recommended to disable this module on sites in production."),
'severity' => RequirementSeverity::Info,
];
return $requirements;
}