abstract class BaseMarkdownAnnotation in Markdown 3.0.x
Same name and namespace in other branches
- 8.2 src/Annotation/BaseMarkdownAnnotation.php \Drupal\markdown\Annotation\BaseMarkdownAnnotation
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\markdown\Annotation\BaseMarkdownAnnotation
Expanded class hierarchy of BaseMarkdownAnnotation
File
- src/
Annotation/ BaseMarkdownAnnotation.php, line 7
Namespace
Drupal\markdown\AnnotationView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseMarkdownAnnotation:: |
protected | property | The description of the extension. | |
BaseMarkdownAnnotation:: |
protected | property | The parser identifier. | |
BaseMarkdownAnnotation:: |
protected | property | Flag indicating whether plugin is installed. | |
BaseMarkdownAnnotation:: |
protected | property | The human-readable label. | |
BaseMarkdownAnnotation:: |
protected | property | The parser URL. | |
BaseMarkdownAnnotation:: |
protected | property | The installed version. | |
BaseMarkdownAnnotation:: |
protected | property | The weight of the plugin. | |
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:: |
1 |
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 |