function 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.