class ContentHubRequirement in Acquia Content Hub 8
Defines a Content Hub Requirement annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\acquia_contenthub_diagnostic\Annotation\ContentHubRequirement
Expanded class hierarchy of ContentHubRequirement
8 classes are annotated with ContentHubRequirement
- ContribModuleVersionRequirement in acquia_contenthub_diagnostic/
src/ Plugin/ ContentHubRequirement/ ContribModuleVersionRequirement.php - Requirement to verify no untested module versions are installed.
- CoreVersionRequirement in acquia_contenthub_diagnostic/
src/ Plugin/ ContentHubRequirement/ CoreVersionRequirement.php - Defines a core version requirement.
- DiagnosticsInstalledWarning in acquia_contenthub_diagnostic/
src/ Plugin/ ContentHubRequirement/ DiagnosticsInstalledWarning.php - Requirement to warn that this should be off in production.
- EndpointAccessibilityRequirement in acquia_contenthub_diagnostic/
src/ Plugin/ ContentHubRequirement/ EndpointAccessibilityRequirement.php - Defines an endpoint accessibility requirement.
- HashSaltRequirement in acquia_contenthub_diagnostic/
src/ Plugin/ ContentHubRequirement/ HashSaltRequirement.php - Defines a salt hash requirement.
File
- acquia_contenthub_diagnostic/
src/ Annotation/ ContentHubRequirement.php, line 12
Namespace
Drupal\acquia_contenthub_diagnostic\AnnotationView source
class ContentHubRequirement extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable title of the requirement.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContentHubRequirement:: |
public | property | The plugin ID. | |
ContentHubRequirement:: |
public | property | The human-readable title of the requirement. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |