You are here

public function CodeMirrorEditor::getDefaultSettings in The CodeMirror Editor 8

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

src/Plugin/Editor/CodeMirrorEditor.php, line 30

Class

CodeMirrorEditor
Defines a CodeMirror text editor.

Namespace

Drupal\codemirror_editor\Plugin\Editor

Code

public function getDefaultSettings() {
  return self::getDefaultCodeMirrorSettings();
}