You are here

public function ContentHubRequirementBase::severity in Acquia Content Hub 8

Returns the requirement's result/severity level.

Return value

int The requirement status code:

Overrides ContentHubRequirementInterface::severity

File

acquia_contenthub_diagnostic/src/ContentHubRequirementBase.php, line 113

Class

ContentHubRequirementBase
Defines a base implementation that Content Hub Requirements will extend.

Namespace

Drupal\acquia_contenthub_diagnostic

Code

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