cms.template.getTemplateToolbarSettingsButtons

Triggered in Cms\Classes\EditorExtension\HasExtensionExtensibility.

Provides an opportunity to extend a CMS template toolbar with custom settings buttons. $dataHolder = {buttons: [], templateType: string}

Example usage:

Event::listen('cms.template.getTemplateToolbarSettingsButtons', function ((\Cms\Classes\EditorExtension) $extension, (object) $dataHolder) {
    // Make some modifications to the $dataHolder->buttons array
});