diff --git a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php index da997fb..4b4bff5 100644 --- a/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php +++ b/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php @@ -211,7 +211,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta 'plugins' => $settings['plugins'], ), )); - $config = $this->getJSConfiguration($fake_editor); + $config = $this->getJsConfiguration($fake_editor); // Remove the ACF configuration that is generated based on filter settings, // because otherwise we cannot retrieve per-feature metadata. unset($config['allowedContent']); @@ -369,7 +369,7 @@ public function getLibraries(EditorEntity $editor) { /** * Builds the "toolbar" configuration part of the CKEditor JS settings. * - * @see getJsConfiguration() + * @see static::getJsConfiguration() * * @param \Drupal\editor\Entity\Editor $editor * A configured text editor object. @@ -392,7 +392,7 @@ public function buildToolbarJSSetting(EditorEntity $editor) { /** * Builds the "contentsCss" configuration part of the CKEditor JS settings. * - * @see getJsConfiguration() + * @see static::getJsConfiguration() * * @param \Drupal\editor\Entity\Editor $editor * A configured text editor object. diff --git a/core/modules/ckeditor/src/Tests/CKEditorTest.php b/core/modules/ckeditor/src/Tests/CKEditorTest.php index 6fed1bb..1d3e169 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorTest.php @@ -71,9 +71,9 @@ protected function setUp() { } /** - * Tests CKEditor::getJsConfiguration(). + * Tests \Drupal\ckeditor\Plugin\Editor\CKEditor::getJsConfiguration(). */ - function testGetJSSettings() { + function testGetJsConfiguration() { $editor = entity_load('editor', 'filtered_html'); // Default toolbar.