You are here

public function CKEditor5PluginConfigurableTrait::setConfiguration in Drupal 10

File

core/modules/ckeditor5/src/Plugin/CKEditor5PluginConfigurableTrait.php, line 22

Class

CKEditor5PluginConfigurableTrait
Provides a trait for configurable CKEditor 5 plugins.

Namespace

Drupal\ckeditor5\Plugin

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration + $this
    ->defaultConfiguration();
}