function LlamaContextualAndButton::getButtons

Implements \Drupal\ckeditor\Plugin\CKEditorPluginButtonsInterface::getButtons().

Overrides CKEditorPluginButtonsInterface::getButtons

File

drupal/core/modules/ckeditor/tests/modules/lib/Drupal/ckeditor_test/Plugin/CKEditorPlugin/LlamaContextualAndButton.php, line 45
Contains \Drupal\ckeditor_test\Plugin\CKEditorPlugin\LlamaContextualAndButton.

Class

LlamaContextualAndButton
Defines a "LlamaContextualAndbutton" plugin, with a contextually OR toolbar builder-enabled "llama" feature.

Namespace

Drupal\ckeditor_test\Plugin\CKEditorPlugin

Code

function getButtons() {
  return array(
    'Llama' => array(
      'label' => t('Insert Llama'),
    ),
  );
}