diff --git a/core/modules/edit/lib/Drupal/edit/Plugin/ProcessedTextEditorBase.php b/core/modules/edit/lib/Drupal/edit/Plugin/ProcessedTextEditorBase.php index 6370011..6e1cace 100644 --- a/core/modules/edit/lib/Drupal/edit/Plugin/ProcessedTextEditorBase.php +++ b/core/modules/edit/lib/Drupal/edit/Plugin/ProcessedTextEditorBase.php @@ -16,14 +16,11 @@ /** * Implements \Drupal\edit\Plugin\ProcessedTextEditorInterface::addJsSettings(). + * + * This base class provides an empty implementation for text editors that + * do not need to add JavaScript settings besides those added by the library. */ public function addJsSettings() { } - /** - * Implements \Drupal\edit\Plugin\ProcessedTextEditorInterface::checkFormatCompatibility(). - */ - public function checkFormatCompatibility($format_id) { - } - } diff --git a/core/modules/edit/tests/modules/lib/Drupal/edit_test/Plugin/edit/processed_text_editor/TestProcessedEditor.php b/core/modules/edit/tests/modules/lib/Drupal/edit_test/Plugin/edit/processed_text_editor/TestProcessedEditor.php index 3848f30..e2cb6d0 100644 --- a/core/modules/edit/tests/modules/lib/Drupal/edit_test/Plugin/edit/processed_text_editor/TestProcessedEditor.php +++ b/core/modules/edit/tests/modules/lib/Drupal/edit_test/Plugin/edit/processed_text_editor/TestProcessedEditor.php @@ -22,7 +22,7 @@ class TestProcessedEditor extends ProcessedTextEditorBase { /** - * Implements Drupal\edit\Plugin\ProcessedTextEditorBase::checkFormatCompatibility(). + * Implements Drupal\edit\Plugin\ProcessedTextEditorInterface::checkFormatCompatibility(). */ function checkFormatCompatibility($format_id) { return state()->get('edit_test.compatible_format') == $format_id;