You are here

function cshs_theme in Client-side Hierarchical Select 8.2

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

Implements hook_theme().

@internal

File

./cshs.module, line 32
Client-side Hierarchical Select.

Code

function cshs_theme() : array {
  $info = [];
  $info['cshs_help'] = [
    'render element' => 'element',
  ];
  $info[CshsElement::ID] = [
    'variables' => [
      'attributes' => [],
      'options' => [],
    ],
  ];
  $info['cshs_term_group'] = [
    'variables' => [
      'title' => '',
      'terms' => [],
    ],
  ];
  return $info;
}