class BUEditorPlugin in BUEditor 8
Same name and namespace in other branches
- 8.2 src/Annotation/BUEditorPlugin.php \Drupal\bueditor\Annotation\BUEditorPlugin
Defines a BUEditorPlugin annotation object.
Plugin Namespace: Plugin\BUEditorPlugin
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\bueditor\Annotation\BUEditorPlugin
Expanded class hierarchy of BUEditorPlugin
See also
\Drupal\bueditor\BUEditorPluginBase
2 classes are annotated with BUEditorPlugin
- Core in src/
Plugin/ BUEditorPlugin/ Core.php - Defines BUEditor Core plugin.
- XPreview in src/
Plugin/ BUEditorPlugin/ XPreview.php - Defines BUEditor Ajax Preview plugin.
File
- src/
Annotation/ BUEditorPlugin.php, line 16
Namespace
Drupal\bueditor\AnnotationView source
class BUEditorPlugin extends Plugin {
/**
* Plugin ID.
*
* @var string
*/
public $id;
/**
* Plugin label.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* Plugin weight.
*
* @var int
*/
public $weight = 0;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BUEditorPlugin:: |
public | property | Plugin ID. | |
BUEditorPlugin:: |
public | property | Plugin label. | |
BUEditorPlugin:: |
public | property | Plugin weight. | |
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 |