function ckeditor5_theme in Drupal 10
Implements hook_theme().
File
- core/
modules/ ckeditor5/ ckeditor5.module, line 83
Code
function ckeditor5_theme() {
return [
// The theme hook is used for rendering the CKEditor 5 toolbar settings in
// the Drupal admin UI. The toolbar settings UI is internal, and utilizing
// it outside of core usages is not supported because the UI can change at
// any point.
// @internal
'ckeditor5_settings_toolbar' => [
'render element' => 'form',
],
];
}