You are here

public function BUEditorPluginBase::getButtons in BUEditor 8

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

Returns plugin buttons.

Return value

array An array of id:label pairs.

Overrides BUEditorPluginInterface::getButtons

2 methods override BUEditorPluginBase::getButtons()
Core::getButtons in src/Plugin/BUEditorPlugin/Core.php
Returns plugin buttons.
XPreview::getButtons in src/Plugin/BUEditorPlugin/XPreview.php
Returns plugin buttons.

File

src/BUEditorPluginBase.php, line 22

Class

BUEditorPluginBase
Defines a base BUEditor plugin implementation.

Namespace

Drupal\bueditor

Code

public function getButtons() {
  return [];
}