You are here

public function n1ed::getButtonsDef in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8

Returns buttons list.

Return value

array Associative array like in @CKEditorPlugin->getButtons

Overrides N1EDEcosystemCKEditorPlugin::getButtonsDef

File

src/Plugin/CKEditorPlugin/n1ed.php, line 38

Class

n1ed
Defines plugin.

Namespace

Drupal\n1ed\Plugin\CKEditorPlugin

Code

public function getButtonsDef() {
  return array(
    'HTML' => array(
      'label' => 'HTML source for N1ED',
      'image' => 'https://cdn.n1ed.com/cdn/buttons/HTML.png',
    ),
  );
}