function CKEditor5AspectsOfCKEditor5Plugin::__construct

Constructs a CKEditor5AspectsOfCKEditor5Plugin attribute.

Parameters

class-string[] $plugins: The CKEditor 5 plugin classes provided. Found in the CKEditor5 global js object as {package.Class}.

array $config: (optional) A keyed array of additional values for the CKEditor 5 configuration.

Overrides Plugin::__construct

File

core/modules/ckeditor5/src/Attribute/CKEditor5AspectsOfCKEditor5Plugin.php, line 22

Class

CKEditor5AspectsOfCKEditor5Plugin

Namespace

Drupal\ckeditor5\Attribute

Code

public function __construct(array $plugins, array $config = []) {
}

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