You are here

public function BUEditorPluginBase::alterEditorJS in BUEditor 8

Same name and namespace in other branches
  1. 8.2 src/BUEditorPluginBase.php \Drupal\bueditor\BUEditorPluginBase::alterEditorJS()

Alters JS data of a BUEditor Editor.

Parameters

array $js: An associative array that holds 'libraries' and 'settings' of the editor.

\Drupal\bueditor\Entity\BUEditorEditor $bueditor_editor: BUEditor Editor entity that owns the data.

\Drupal\editor\Entity\Editor $editor: An optional Editor entity which the BUEditor Editor is attached to.

Overrides BUEditorPluginInterface::alterEditorJS

2 methods override BUEditorPluginBase::alterEditorJS()
Core::alterEditorJS in src/Plugin/BUEditorPlugin/Core.php
Alters JS data of a BUEditor Editor.
XPreview::alterEditorJS in src/Plugin/BUEditorPlugin/XPreview.php
Alters JS data of a BUEditor Editor.

File

src/BUEditorPluginBase.php, line 29

Class

BUEditorPluginBase
Defines a base BUEditor plugin implementation.

Namespace

Drupal\bueditor

Code

public function alterEditorJS(array &$js, BUEditorEditor $bueditor_editor, Editor $editor = NULL) {
}