function UnicornEditor::getDefaultSettings

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

Overrides EditorBase::getDefaultSettings

File

core/modules/editor/tests/modules/editor_test/src/Plugin/Editor/UnicornEditor.php, line 32

Class

UnicornEditor
Defines a Unicorn-powered text editor for Drupal (for testing purposes).

Namespace

Drupal\editor_test\Plugin\Editor

Code

public function getDefaultSettings() {
    return [
        'ponies_too' => TRUE,
    ];
}

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