You are here

function cshs_theme in Client-side Hierarchical Select 7

Same name and namespace in other branches
  1. 8.3 cshs.module \cshs_theme()
  2. 8 cshs.module \cshs_theme()
  3. 8.2 cshs.module \cshs_theme()

Implements hook_theme().

File

./cshs.module, line 17
A simple clientside hierarchical select widget for taxonomy terms.

Code

function cshs_theme() {
  return array(
    'cshs_select' => array(
      'render element' => 'element',
    ),
    'cshs_term_group' => array(
      'variables' => array(
        'title' => '',
        'terms' => '',
      ),
      'template' => 'cshs-term-group',
      'path' => drupal_get_path('module', 'cshs') . '/theme',
    ),
  );
}