function multiselect_element_info in Multiselect 7
Implements hook_element_info().
File
- ./
multiselect.module, line 335 - Allows users to select multiple items in an easier way than the normal node-reference widget.
Code
function multiselect_element_info() {
$type['multiselect'] = array(
'#input' => TRUE,
'#multiple' => TRUE,
'#process' => array(
'form_process_select',
'ajax_process_form',
),
'#theme' => 'multiselect',
'#theme_wrappers' => array(
'form_element',
),
);
return $type;
}