You are here

public function AceEditor::getJsSettings in Ace Code Editor 8

File

src/Plugin/Editor/AceEditor.php, line 191

Class

AceEditor
Defines AceEditor as an Editor plugin.

Namespace

Drupal\ace_editor\Plugin\Editor

Code

public function getJsSettings(Editor $editor) {

  // Pass settings to javascript.
  return $editor
    ->getSettings()['fieldset'];
}