function TRexEditor::getDefaultSettings

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

Overrides EditorBase::getDefaultSettings

File

core/modules/editor/tests/modules/src/Plugin/Editor/TRexEditor.php, line 28

Class

TRexEditor
Defines a Tyrannosaurus-Rex powered text editor for testing purposes.

Namespace

Drupal\editor_test\Plugin\Editor

Code

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

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