function CKEditor5Plugin::setClass

Same name in this branch
  1. 10 core/modules/ckeditor5/src/Annotation/CKEditor5Plugin.php \Drupal\ckeditor5\Annotation\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 AttributeBase::setClass

File

core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php, line 107

Class

CKEditor5Plugin
The CKEditor5Plugin attribute.

Namespace

Drupal\ckeditor5\Attribute

Code

public function setClass($class) : void {
    $this->drupal?->setClass($class);
}

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