You are here

public function DiagnosticCheckBase::getSeverity in Purge 8.3

Get the severity level.

Return value

int Integer, matching either of the following constants:

Overrides DiagnosticCheckInterface::getSeverity

File

src/Plugin/Purge/DiagnosticCheck/DiagnosticCheckBase.php, line 109

Class

DiagnosticCheckBase
Describes a diagnostic check that tests a specific purging requirement.

Namespace

Drupal\purge\Plugin\Purge\DiagnosticCheck

Code

public function getSeverity() {
  $this
    ->runCheck();
  return $this->severity;
}