public function ContentHubRequirementInterface::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.
1 method overrides ContentHubRequirementInterface::severity()
- ContentHubRequirementBase::severity in acquia_contenthub_diagnostic/
src/ ContentHubRequirementBase.php - Returns the requirement's result/severity level.
File
- acquia_contenthub_diagnostic/
src/ ContentHubRequirementInterface.php, line 44
Class
- ContentHubRequirementInterface
- Provides an interface defining a Content Hub Requirement plugin.
Namespace
Drupal\acquia_contenthub_diagnosticCode
public function severity();