function CKEditor5PluginDefinition::getCKEditor5Config

Same name and namespace in other branches
  1. 9 core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::getCKEditor5Config()
  2. 10 core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::getCKEditor5Config()

Gets keyed array of additional values for the CKEditor 5 configuration.

Return value

array The CKEditor 5 constructor config.

See also

\Drupal\ckeditor5\Annotation\CKEditor5AspectsOfCKEditor5Plugin::$config

1 call to CKEditor5PluginDefinition::getCKEditor5Config()
CKEditor5PluginDefinition::hasCKEditor5Config in core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php
Whether this plugin has additional values for the CKEditor 5 configuration.

File

core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php, line 567

Class

CKEditor5PluginDefinition
Provides an implementation of a CKEditor 5 plugin definition.

Namespace

Drupal\ckeditor5\Plugin

Code

public function getCKEditor5Config() : array {
    return $this->ckeditor5['config'];
}

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