You are here

public function BUEditorEditor::getJSSettings in BUEditor 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BUEditorEditor.php \Drupal\bueditor\Entity\BUEditorEditor::getJSSettings()

Returns JS settings.

File

src/Entity/BUEditorEditor.php, line 116

Class

BUEditorEditor
Defines the BUEditor Editor entity.

Namespace

Drupal\bueditor\Entity

Code

public function getJSSettings(Editor $editor = NULL) {
  $js = $this
    ->getJS($editor);
  return $js['settings'];
}