You are here

function apigee_edge_debug_requirements in Apigee Edge 8

Implements hook_requirements().

File

modules/apigee_edge_debug/apigee_edge_debug.install, line 29
Copyright 2021 Google Inc.

Code

function apigee_edge_debug_requirements($phase) {
  $requirements = [];
  if ($phase === 'runtime') {
    $requirements['apigee_debug'] = [
      'title' => t('Apigee Edge Debug'),
      'value' => t('Apigee Edge Debug module is enabled.'),
      'description' => t('It is recommended to disable this module on production sites.'),
      'severity' => REQUIREMENT_WARNING,
    ];
  }
  return $requirements;
}