You are here

public function BUEditorEditor::setToolbar in BUEditor 8.2

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

Sets the toolbar array.

File

src/Entity/BUEditorEditor.php, line 93

Class

BUEditorEditor
Defines the BUEditor Editor entity.

Namespace

Drupal\bueditor\Entity

Code

public function setToolbar(array $toolbar) {
  return $this->settings['toolbar'] = $toolbar;
}