You are here

abstract class BaseMarkdownAnnotation in Markdown 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Annotation/BaseMarkdownAnnotation.php \Drupal\markdown\Annotation\BaseMarkdownAnnotation

Hierarchy

Expanded class hierarchy of BaseMarkdownAnnotation

File

src/Annotation/BaseMarkdownAnnotation.php, line 7

Namespace

Drupal\markdown\Annotation
View source
abstract class BaseMarkdownAnnotation extends Plugin {

  /**
   * The parser identifier.
   *
   * @var string
   */
  protected $id;

  /**
   * The human-readable label.
   *
   * @var string|\Drupal\Core\Annotation\Translation
   */
  protected $label;

  /**
   * The description of the extension.
   *
   * @var string|\Drupal\Core\Annotation\Translation
   */
  protected $description;

  /**
   * Flag indicating whether plugin is installed.
   *
   * @var boolean
   */
  protected $installed;

  /**
   * The parser URL.
   *
   * @var string
   */
  protected $url;

  /**
   * The installed version.
   *
   * @var string
   */
  protected $version;

  /**
   * The weight of the plugin.
   *
   * @var int
   */
  protected $weight = 0;

}

Members

Namesort descending Modifiers Type Description Overrides
BaseMarkdownAnnotation::$description protected property The description of the extension.
BaseMarkdownAnnotation::$id protected property The parser identifier.
BaseMarkdownAnnotation::$installed protected property Flag indicating whether plugin is installed.
BaseMarkdownAnnotation::$label protected property The human-readable label.
BaseMarkdownAnnotation::$url protected property The parser URL.
BaseMarkdownAnnotation::$version protected property The installed version.
BaseMarkdownAnnotation::$weight protected property The weight of the plugin.
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 1
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