You are here

public function CKEditor5Plugin::setClass in Drupal 10

Sets the class of the annotated class.

Parameters

string $class: The class of the annotated class.

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;
}