You are here

public function DiagnosticCheckInterface::getRequirementsArray in Purge 8.3

Generates a individual Drupal-like requirements array.

Return value

array An associative array with the following elements:

  • title: The name of this check.
  • value: The current value (e.g., version, time, level, etc), will not be set if not applicable.
  • description: The description of the check.
  • severity_status: severity string: 'info', 'ok', 'warning' or 'error'.
  • severity: The check's result/severity level, one of:
1 method overrides DiagnosticCheckInterface::getRequirementsArray()
DiagnosticCheckBase::getRequirementsArray in src/Plugin/Purge/DiagnosticCheck/DiagnosticCheckBase.php
Generates a individual Drupal-like requirements array.

File

src/Plugin/Purge/DiagnosticCheck/DiagnosticCheckInterface.php, line 137

Class

DiagnosticCheckInterface
Describes a diagnostic check that checks a specific purging requirement.

Namespace

Drupal\purge\Plugin\Purge\DiagnosticCheck

Code

public function getRequirementsArray();