public function DrupalImage::getButtons in Drupal 10
Same name and namespace in other branches
- 8 core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImage.php \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalImage::getButtons()
- 9 core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImage.php \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalImage::getButtons()
File
- core/
modules/ ckeditor/ src/ Plugin/ CKEditorPlugin/ DrupalImage.php, line 50
Class
- DrupalImage
- Defines the "drupalimage" plugin.
Namespace
Drupal\ckeditor\Plugin\CKEditorPluginCode
public function getButtons() {
return [
'DrupalImage' => [
'label' => $this
->t('Image'),
'image' => $this
->getModulePath('ckeditor') . '/js/plugins/drupalimage/icons/drupalimage.png',
],
];
}