You are here

public function CodeMirrorEditor::getJsSettings in The CodeMirror Editor 8

File

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

Class

CodeMirrorEditor
Defines a CodeMirror text editor.

Namespace

Drupal\codemirror_editor\Plugin\Editor

Code

public function getJsSettings(Editor $editor) {
  return $editor
    ->getSettings();
}