public function BUEditorPluginInterface::alterEditorJS in BUEditor 8.2
Same name and namespace in other branches
- 8 src/BUEditorPluginInterface.php \Drupal\bueditor\BUEditorPluginInterface::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.
1 method overrides BUEditorPluginInterface::alterEditorJS()
- BUEditorPluginBase::alterEditorJS in src/
BUEditorPluginBase.php - Alters JS data of a BUEditor Editor.
File
- src/
BUEditorPluginInterface.php, line 37
Class
- BUEditorPluginInterface
- Defines an interface for BUEditor plugins.
Namespace
Drupal\bueditorCode
public function alterEditorJS(array &$js, BUEditorEditor $bueditor_editor, Editor $editor = NULL);