function hierarchical_select_elements in Hierarchical Select 5
Same name and namespace in other branches
- 5.3 hierarchical_select.module \hierarchical_select_elements()
- 5.2 hierarchical_select.module \hierarchical_select_elements()
- 6.3 hierarchical_select.module \hierarchical_select_elements()
Implementation of hook_elements().
File
- ./
hierarchical_select.module, line 62 - This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select an option in a hierarchy. Out of the box, this module supports the taxonomy and content_taxonomy modules, but that…
Code
function hierarchical_select_elements() {
$type['hierarchical_select'] = array(
'#input' => TRUE,
'#process' => array(
'hierarchical_select_process' => array(),
),
'#hierarchical_select_settings' => array(),
'#default_value' => -1,
);
return $type;
}