function EditorBase::getDefaultSettings

Same name in other branches
  1. 9 core/modules/editor/src/Plugin/EditorBase.php \Drupal\editor\Plugin\EditorBase::getDefaultSettings()
  2. 8.9.x core/modules/editor/src/Plugin/EditorBase.php \Drupal\editor\Plugin\EditorBase::getDefaultSettings()
  3. 10 core/modules/editor/src/Plugin/EditorBase.php \Drupal\editor\Plugin\EditorBase::getDefaultSettings()

Overrides EditorPluginInterface::getDefaultSettings

3 methods override EditorBase::getDefaultSettings()
CKEditor5::getDefaultSettings in core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php
Returns the default settings for this configurable text editor.
TRexEditor::getDefaultSettings in core/modules/editor/tests/modules/editor_test/src/Plugin/Editor/TRexEditor.php
Returns the default settings for this configurable text editor.
UnicornEditor::getDefaultSettings in core/modules/editor/tests/modules/editor_test/src/Plugin/Editor/UnicornEditor.php
Returns the default settings for this configurable text editor.

File

core/modules/editor/src/Plugin/EditorBase.php, line 27

Class

EditorBase
Defines a base class from which other modules providing editors may extend.

Namespace

Drupal\editor\Plugin

Code

public function getDefaultSettings() {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.