public function ContentHubRequirementBase::severity in Acquia Content Hub 8
Returns the requirement's result/severity level.
Return value
int The requirement status code:
- REQUIREMENT_INFO: For info only.
- REQUIREMENT_OK: The requirement is satisfied.
- REQUIREMENT_WARNING: The requirement failed with a warning.
- REQUIREMENT_ERROR: The requirement failed with an error.
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_diagnosticCode
public function severity() {
return $this->severity;
}