You are here

function term_level_element_info in Term Level Field 7

Implements hook_element_info().

File

./term_level_element.inc, line 10
term_level_element form type

Code

function term_level_element_info() {
  $type['term_level'] = array(
    '#input' => TRUE,
    '#process' => array(
      'term_level_element_process',
    ),
    '#terms' => array(),
    '#levels' => array(),
    '#parent' => 0,
    '#vid' => 0,
    '#tag_cloud_terms' => array(),
    '#theme' => 'term_level_element',
  );
  return $type;
}