You are here

public function TRexEditor::getDefaultSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/editor/tests/modules/src/Plugin/Editor/TRexEditor.php \Drupal\editor_test\Plugin\Editor\TRexEditor::getDefaultSettings()

Returns the default settings for this configurable text editor.

Return value

array An array of settings as they would be stored by a configured text editor entity (\Drupal\editor\Entity\Editor).

Overrides EditorBase::getDefaultSettings

File

core/modules/editor/tests/modules/src/Plugin/Editor/TRexEditor.php, line 33
Contains \Drupal\editor_test\Plugin\Editor\TRexEditor.

Class

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

Namespace

Drupal\editor_test\Plugin\Editor

Code

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