function filter_theme
Same name in other branches
- 7.x modules/filter/filter.module \filter_theme()
- 9 core/modules/filter/filter.module \filter_theme()
- 8.9.x core/modules/filter/filter.module \filter_theme()
Implements hook_theme().
File
-
core/
modules/ filter/ filter.module, line 58
Code
function filter_theme() {
return [
'filter_tips' => [
'variables' => [
'tips' => NULL,
'long' => FALSE,
],
],
'text_format_wrapper' => [
'variables' => [
'children' => NULL,
'description' => NULL,
'attributes' => [],
],
],
'filter_guidelines' => [
'variables' => [
'format' => NULL,
],
],
'filter_caption' => [
'variables' => [
'node' => NULL,
'tag' => NULL,
'caption' => NULL,
'classes' => NULL,
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.