You are here

function taxonomy_manager_element_info in Taxonomy Manager 7

Implements hook_elements().

File

./taxonomy_manager.module, line 239
Taxonomy Manager

Code

function taxonomy_manager_element_info() {
  $type['taxonomy_manager_tree'] = array(
    '#input' => TRUE,
    '#process' => array(
      'taxonomy_manager_tree_process_elements',
    ),
    '#tree' => TRUE,
    '#element_validate' => array(
      'taxonomy_manager_tree_validate',
    ),
    '#theme' => 'taxonomy_manager_tree',
    '#parent' => 0,
    '#siblings_page' => 0,
    '#operations' => "",
    '#default_value' => array(),
    '#multiple' => TRUE,
    '#add_term_info' => TRUE,
    '#required' => FALSE,
    '#expand_all' => FALSE,
    '#render_whole_tree' => FALSE,
    '#search_string' => '',
    '#terms_to_expand' => array(),
    '#terms_to_highlight' => array(),
    '#language' => NULL,
    '#pager' => FALSE,
  );
  return $type;
}