Implements \Drupal\ckeditor\Plugin\CKEditorPluginButtonsInterface::getButtons().
Overrides CKEditorPluginButtonsInterface::getButtons
File
- drupal/core/modules/ckeditor/tests/modules/lib/Drupal/ckeditor_test/Plugin/CKEditorPlugin/LlamaButton.php, line 28
- Contains \Drupal\ckeditor_test\Plugin\CKEditorPlugin\LlamaButton.
Class
- LlamaButton
- Defines a "LlamaButton" plugin, with a toolbar builder-enabled "llama" feature.
Namespace
Drupal\ckeditor_test\Plugin\CKEditorPlugin
Code
function getButtons() {
return array(
'Llama' => array(
'label' => t('Insert Lllama'),
),
);
}