You are here

class ContentHubRequirement in Acquia Content Hub 8

Defines a Content Hub Requirement annotation object.

Hierarchy

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.

... See full list

File

acquia_contenthub_diagnostic/src/Annotation/ContentHubRequirement.php, line 12

Namespace

Drupal\acquia_contenthub_diagnostic\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
ContentHubRequirement::$id public property The plugin ID.
ContentHubRequirement::$title public property The human-readable title of the requirement.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2