Same name and namespace in other branches
- 6.x modules/filter/filter.module \filter_theme()
- 7.x modules/filter/filter.module \filter_theme()
- 9 core/modules/filter/filter.module \filter_theme()
Implements hook_theme().
File
- core/
modules/ filter/ filter.module, line 57 - Framework for handling the filtering of content.
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,
],
],
];
}