function Ckeditor5Hooks::theme

Same name and namespace in other branches
  1. 11.x core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php \Drupal\ckeditor5\Hook\Ckeditor5Hooks::theme()

Implements hook_theme().

Attributes

#[Hook('theme')]

File

core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php, line 124

Class

Ckeditor5Hooks
Hook implementations for ckeditor5.

Namespace

Drupal\ckeditor5\Hook

Code

public function theme() : array {
  return [
    'ckeditor5_settings_toolbar' => [
      'render element' => 'form',
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.