function CKEditor5Plugin::setClass

Same name in this branch
  1. 10 core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php \Drupal\ckeditor5\Attribute\CKEditor5Plugin::setClass()
Same name in other branches
  1. 9 core/modules/ckeditor5/src/Annotation/CKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5Plugin::setClass()
  2. 11.x core/modules/ckeditor5/src/Annotation/CKEditor5Plugin.php \Drupal\ckeditor5\Annotation\CKEditor5Plugin::setClass()
  3. 11.x core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php \Drupal\ckeditor5\Attribute\CKEditor5Plugin::setClass()

Overrides Plugin::setClass

File

core/modules/ckeditor5/src/Annotation/CKEditor5Plugin.php, line 77

Class

CKEditor5Plugin
Defines a CKEditor5Plugin annotation object.

Namespace

Drupal\ckeditor5\Annotation

Code

public function setClass($class) {
    $this->definition['drupal']['class'] = $class;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.