function term_reference_tree_element_info in Taxonomy Term Reference Tree Widget 7
Same name and namespace in other branches
- 7.2 term_reference_tree.module \term_reference_tree_element_info()
Implements hook_element_info().
File
- ./
term_reference_tree.module, line 9
Code
function term_reference_tree_element_info() {
$types = array(
'checkbox_tree' => array(
'#input' => TRUE,
'#process' => array(
'term_reference_tree_process_checkbox_tree',
),
'#theme' => array(
'checkbox_tree',
),
'#pre_render' => array(
'form_pre_render_conditional_form_element',
),
),
'checkbox_tree_level' => array(
'#input' => FALSE,
'#theme' => array(
'checkbox_tree_level',
),
'#pre_render' => array(
'form_pre_render_conditional_form_element',
),
),
'checkbox_tree_item' => array(
'#input' => FALSE,
'#theme' => array(
'checkbox_tree_item',
),
'#pre_render' => array(
'form_pre_render_conditional_form_element',
),
),
'checkbox_tree_label' => array(
'#input' => FALSE,
'#theme' => array(
'checkbox_tree_label',
),
'#pre_render' => array(
'form_pre_render_conditional_form_element',
),
),
'checkbox_tree_track_list' => array(
'#input' => FALSE,
'#theme' => array(
'checkbox_tree_track_list',
),
'#pre_render' => array(
'form_pre_render_conditional_form_element',
),
),
);
return $types;
}