function 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.