public function DiagnosticCheckBase::getValue in Purge 8.3
Get an optional value for the check output, may return NULL.
Return value
null|\Drupal\Core\StringTranslation\TranslatableMarkup Null when no value exists, else a translated string.
Overrides DiagnosticCheckInterface::getValue
1 call to DiagnosticCheckBase::getValue()
- DiagnosticCheckBase::getRequirementsArray in src/
Plugin/ Purge/ DiagnosticCheck/ DiagnosticCheckBase.php - Generates a individual Drupal-like requirements array.
File
- src/
Plugin/ Purge/ DiagnosticCheck/ DiagnosticCheckBase.php, line 144
Class
- DiagnosticCheckBase
- Describes a diagnostic check that tests a specific purging requirement.
Namespace
Drupal\purge\Plugin\Purge\DiagnosticCheckCode
public function getValue() {
$this
->runCheck();
return $this->value;
}