You are here

public function ValidationResult::getSeverity in Automatic Updates 8.2

The severity of the result.

Return value

int Either SystemManager::REQUIREMENT_ERROR or SystemManager::REQUIREMENT_WARNING.

File

src/Validation/ValidationResult.php, line 109

Class

ValidationResult
A value object to contain the results of a validation.

Namespace

Drupal\automatic_updates\Validation

Code

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