function CKEditor5PluginConfigurableTrait::setConfiguration
Same name in other branches
- 9 core/modules/ckeditor5/src/Plugin/CKEditor5PluginConfigurableTrait.php \Drupal\ckeditor5\Plugin\CKEditor5PluginConfigurableTrait::setConfiguration()
- 10 core/modules/ckeditor5/src/Plugin/CKEditor5PluginConfigurableTrait.php \Drupal\ckeditor5\Plugin\CKEditor5PluginConfigurableTrait::setConfiguration()
File
-
core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginConfigurableTrait.php, line 22
Class
- CKEditor5PluginConfigurableTrait
- Provides a trait for configurable CKEditor 5 plugins.
Namespace
Drupal\ckeditor5\PluginCode
public function setConfiguration(array $configuration) {
$this->configuration = $configuration + $this->defaultConfiguration();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.