core/modules/editor/lib/Drupal/editor/Plugin/EditorManager.php | 4 ++-- core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/editor/lib/Drupal/editor/Plugin/EditorManager.php b/core/modules/editor/lib/Drupal/editor/Plugin/EditorManager.php index 09b844b..d142dad 100644 --- a/core/modules/editor/lib/Drupal/editor/Plugin/EditorManager.php +++ b/core/modules/editor/lib/Drupal/editor/Plugin/EditorManager.php @@ -68,12 +68,12 @@ public function getAttachments(array $format_ids) { $plugin = $this->createInstance($editor->editor); // Libraries. - $attachments['library'] = array_merge($attachments['library'], $plugin->attachLibraries($editor)); + $attachments['library'] = array_merge($attachments['library'], $plugin->getLibraries($editor)); // JavaScript settings. $settings[$format_id] = array( 'editor' => $editor->editor, - 'editorSettings' => $plugin->attachSettings($editor), + 'editorSettings' => $plugin->getJSSettings($editor), ); } diff --git a/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php b/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php index 83093bb..d01a7af 100644 --- a/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php +++ b/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php @@ -106,7 +106,7 @@ function testManager() { 'data' => array('editor' => array('formats' => array( 'full_html' => array( 'editor' => 'unicorn', - 'editorSettings' => $unicorn_plugin->attachSettings($editor), + 'editorSettings' => $unicorn_plugin->getJSSettings($editor), ) ))) )