function CKEditor5Plugin::get

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

Overrides AttributeBase::get

File

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

Class

CKEditor5Plugin
The CKEditor5Plugin attribute.

Namespace

Drupal\ckeditor5\Attribute

Code

public function get() : CKEditor5PluginDefinition {
    return new CKEditor5PluginDefinition([
        'id' => $this->id,
        'ckeditor5' => $this->ckeditor5?->get(),
        'drupal' => $this->drupal?->get(),
        'provider' => $this->getProvider(),
    ]);
}

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