You are here

function theme_collapse_text_details in Collapse Text 8

Theme the collapse text details.

Theme a section of collapsible text. By default, this function calls the default 'theme_details' implementation, but this function can be overridden to implement a custom theme just for collapsed text.

1 string reference to 'theme_collapse_text_details'
collapse_text_theme in ./collapse_text.module
Implements hook_theme().
1 theme call to theme_collapse_text_details()
CollapseText::processChildItem in src/Plugin/Filter/CollapseText.php
Helper function to process a child item.

File

./collapse_text.module, line 33
It is an input filter that allows text to be collapsible.

Code

function theme_collapse_text_details($element) {
  return drupal_render_children($element['element']);
}