You are here

class SiteAuditCheck in Site Audit 8.3

Defines a Site Audit Check item annotation object.

Hierarchy

Expanded class hierarchy of SiteAuditCheck

See also

\Drupal\site_audit\Plugin\SiteAuditCheckManager

Plugin API

54 classes are annotated with SiteAuditCheck
BestPracticesFast404 in src/Plugin/SiteAuditCheck/BestPracticesFast404.php
Provides the BestPracticesFast404 Check.
BestPracticesFolderStructure in src/Plugin/SiteAuditCheck/BestPracticesFolderStructure.php
Provides the BestPracticesFolderStructure Check.
BestPracticesMultisite in src/Plugin/SiteAuditCheck/BestPracticesMultisite.php
Provides the BestPracticesMultisite Check.
BestPracticesServices in src/Plugin/SiteAuditCheck/BestPracticesServices.php
Provides the BestPracticesServices Check.
BestPracticesSettings in src/Plugin/SiteAuditCheck/BestPracticesSettings.php
Provides the BestPracticesSettings Check.

... See full list

File

src/Annotation/SiteAuditCheck.php, line 15

Namespace

Drupal\site_audit\Annotation
View source
class SiteAuditCheck extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The label/name of the check.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The description of the check.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

  /**
   * The weight of the check.
   *
   * @var int
   */
  public $weight = 0;

  /**
   * The report for the check.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $report;

}

Members

Namesort descending Modifiers Type Description Overrides
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
SiteAuditCheck::$description public property The description of the check.
SiteAuditCheck::$id public property The plugin ID.
SiteAuditCheck::$label public property The label/name of the check.
SiteAuditCheck::$report public property The report for the check.
SiteAuditCheck::$weight public property The weight of the check.