ckeditor5-1.0.x-dev/src/Plugin/CKEditor5PluginDefault.php
src/Plugin/CKEditor5PluginDefault.php
<?php
namespace Drupal\ckeditor5\Plugin;
use Drupal\Core\Plugin\PluginBase;
use Drupal\editor\Entity\Editor;
/**
* Defines the default CKEditor 5 plugin implementation.
*
* When a CKEditor 5 plugin is not configurable nor has dynamic plugin
* configuration, no custom code needs to be written: this default
* implementation will be used under the hood.
*/
class CKEditor5PluginDefault extends PluginBase implements CKEditor5PluginInterface {
/**
* {@inheritdoc}
*/
public function getDynamicPluginConfig(array $static_plugin_config, Editor $editor) {
return $static_plugin_config;
}
}
