function collapse_text_theme in Collapse Text 8
Same name and namespace in other branches
- 6.2 collapse_text.module \collapse_text_theme()
- 6 collapse_text.module \collapse_text_theme()
- 7.2 collapse_text.module \collapse_text_theme()
- 2.0.x collapse_text.module \collapse_text_theme()
Implements hook_theme().
File
- ./
collapse_text.module, line 13 - It is an input filter that allows text to be collapsible.
Code
function collapse_text_theme($existing, $type, $theme, $path) {
return [
'collapse_text_details' => [
'render element' => 'element',
'function' => 'theme_collapse_text_details',
],
'collapse_text_form' => [
'render element' => 'element',
'function' => 'theme_collapse_text_form',
],
];
}