.../modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php b/core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php index 22545f0e26..e21b3a7ef6 100644 --- a/core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php +++ b/core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php @@ -7,7 +7,6 @@ use Drupal\ckeditor5\Plugin\CKEditor5PluginConfigurableTrait; use Drupal\ckeditor5\Plugin\CKEditor5PluginDefault; use Drupal\ckeditor5\Plugin\CKEditor5PluginConfigurableInterface; -use Drupal\ckeditor5\Plugin\CKEditor5PluginElementsSubsetInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\editor\EditorInterface; @@ -17,7 +16,7 @@ * @internal * Plugin classes are internal. */ -class CodeBlock extends CKEditor5PluginDefault implements CKEditor5PluginConfigurableInterface, CKEditor5PluginElementsSubsetInterface { +class CodeBlock extends CKEditor5PluginDefault implements CKEditor5PluginConfigurableInterface { use CKEditor5PluginConfigurableTrait; @@ -129,13 +128,6 @@ public function defaultConfiguration() { ]; } - /** - * {@inheritdoc} - */ - public function getElementsSubset(): array { - return array_column($this->configuration['languages'], 'language'); - } - /** * {@inheritdoc} */