public function DrupalMediaLibrary::getButtons in Drupal 10
File
- core/
modules/ ckeditor/ src/ Plugin/ CKEditorPlugin/ DrupalMediaLibrary.php, line 162
Class
- DrupalMediaLibrary
- Defines the "drupalmedialibrary" plugin.
Namespace
Drupal\ckeditor\Plugin\CKEditorPluginCode
public function getButtons() {
return [
'DrupalMediaLibrary' => [
'label' => $this
->t('Insert from Media Library'),
'image' => $this->moduleExtensionList
->getPath('ckeditor') . '/js/plugins/drupalmedialibrary/icons/drupalmedialibrary.png',
],
];
}