1. 8.3.x core/modules/ckeditor/src/Annotation/CKEditorPlugin.php CKEditorPlugin
  2. 8.0.x core/modules/ckeditor/src/Annotation/CKEditorPlugin.php CKEditorPlugin
  3. 8.1.x core/modules/ckeditor/src/Annotation/CKEditorPlugin.php CKEditorPlugin
  4. 8.2.x core/modules/ckeditor/src/Annotation/CKEditorPlugin.php CKEditorPlugin
  5. 8.4.x core/modules/ckeditor/src/Annotation/CKEditorPlugin.php CKEditorPlugin

Defines a CKEditorPlugin annotation object.

Plugin Namespace: Plugin\CKEditorPlugin

For a working example, see \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalImage


Expanded class hierarchy of CKEditorPlugin

See also





Plugin API

Related topics

11 classes are annotated with CKEditorPlugin
DrupalImage in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImage.php
Defines the "drupalimage" plugin.
DrupalImageCaption in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php
Defines the "drupalimagecaption" plugin.
DrupalLink in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php
Defines the "drupallink" plugin.
Internal in core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php
Defines the "internal" plugin (i.e. core plugins part of our CKEditor build).
Language in core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php
Defines the "language" plugin.

... See full list


core/modules/ckeditor/src/Annotation/CKEditorPlugin.php, line 22


View source
class CKEditorPlugin extends Plugin {

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

   * The human-readable name of the CKEditor plugin.
   * @ingroup plugin_translatable
   * @var \Drupal\Core\Annotation\Translation
  public $label;



Contains filters are case sensitive
Namesort descending Modifiers Type Description Overrides
CKEditorPlugin::$id public property The plugin ID.
CKEditorPlugin::$label public property The human-readable name of the CKEditor 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 2
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