You are here

function ctools_collapsible_theme in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 includes/collapsible.theme.inc \ctools_collapsible_theme()

Delegated implementation of hook_theme()

File

includes/collapsible.theme.inc, line 15
Theme function for the collapsible div tool.

Code

function ctools_collapsible_theme(&$items) {
  $items['ctools_collapsible'] = array(
    'variables' => array(
      'handle' => NULL,
      'content' => NULL,
      'collapsed' => FALSE,
    ),
    'file' => 'includes/collapsible.theme.inc',
  );
  $items['ctools_collapsible_remembered'] = array(
    'variables' => array(
      'id' => NULL,
      'handle' => NULL,
      'content' => NULL,
      'collapsed' => FALSE,
    ),
    'file' => 'includes/collapsible.theme.inc',
  );
}