You are here

class BUEditorPlugin in BUEditor 8

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

Defines a BUEditorPlugin annotation object.

Plugin Namespace: Plugin\BUEditorPlugin

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
BUEditorPlugin::$id public property Plugin ID.
BUEditorPlugin::$label public property Plugin label.
BUEditorPlugin::$weight public property Plugin weight.
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