function cshs_field_widget_info in Client-side Hierarchical Select 7
Implements hook_field_widget_info().
Define a custom widget.
File
- ./
cshs.module, line 38 - A simple clientside hierarchical select widget for taxonomy terms.
Code
function cshs_field_widget_info() {
return array(
'cshs' => array(
'label' => t('Clientside hierarchical select'),
'field types' => array(
'taxonomy_term_reference',
),
'settings' => array(
'cshs' => array(
'force_deepest' => FALSE,
'parent' => 0,
'level_labels' => '',
),
),
),
);
}