interface ContentHubRequirementInterface in Acquia Content Hub 8
Provides an interface defining a Content Hub Requirement plugin.
Hierarchy
- interface \Drupal\acquia_contenthub_diagnostic\ContentHubRequirementInterface
Expanded class hierarchy of ContentHubRequirementInterface
All classes that implement ContentHubRequirementInterface
File
- acquia_contenthub_diagnostic/
src/ ContentHubRequirementInterface.php, line 8
Namespace
Drupal\acquia_contenthub_diagnosticView source
interface ContentHubRequirementInterface {
/**
* Returns the name of the requirement.
*
* @return string
* The name of the requirement.
*/
public function title();
/**
* Returns the current value.
*
* @return string
* The current value.
*/
public function value();
/**
* Returns the description of the requirement/status.
*
* @return string
* The description of the requirement/status.
*/
public function description();
/**
* Returns the requirement's result/severity level.
*
* @return 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.
*/
public function severity();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContentHubRequirementInterface:: |
public | function | Returns the description of the requirement/status. | 1 |
ContentHubRequirementInterface:: |
public | function | Returns the requirement's result/severity level. | 1 |
ContentHubRequirementInterface:: |
public | function | Returns the name of the requirement. | 1 |
ContentHubRequirementInterface:: |
public | function | Returns the current value. | 1 |