You are here

function term_level_theme in Term Level Field 7

Implements hook_theme().

File

./term_level.module, line 92
Field type for referencing terms with a level to an entity.

Code

function term_level_theme($existing, $type, $theme, $path) {
  return array(
    'term_level_element' => array(
      'render element' => 'element',
    ),
    'term_level_group' => array(
      'variables' => array(
        'levels' => array(),
        'level' => 0,
        'term_names' => array(),
      ),
    ),
  );
}