function ckeditor5_theme
Same name in other branches
- 9 core/modules/ckeditor5/ckeditor5.module \ckeditor5_theme()
- 11.x core/modules/ckeditor5/ckeditor5.module \ckeditor5_theme()
Implements hook_theme().
File
-
core/
modules/ ckeditor5/ ckeditor5.module, line 84
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',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.