public function DiagnosticsInstalledWarning::verify in Acquia Content Hub 8
Verify no untested module versions are installed.
Overrides ContentHubRequirementBase::verify
File
- acquia_contenthub_diagnostic/
src/ Plugin/ ContentHubRequirement/ DiagnosticsInstalledWarning.php, line 20
Class
- DiagnosticsInstalledWarning
- Requirement to warn that this should be off in production.
Namespace
Drupal\acquia_contenthub_diagnostic\Plugin\ContentHubRequirementCode
public function verify() {
$this
->setValue($this
->t('Diagnostics module is installed.'));
$this
->setDescription($this
->t('Diagnostics are run on every Drupal bootstrap. It is recommended that this module be turned off on production sites for better site performance.'));
return REQUIREMENT_WARNING;
}