function multiselect_elements in Multiselect 6
Implementation of FAPI hook_elements().
Any FAPI callbacks needed for individual widgets can be declared here, and the element will be passed to those callbacks for processing.
File
- ./
multiselect.module, line 97 - Allows users to select multiple items in an easier way than the normal node-reference widget.
Code
function multiselect_elements() {
return array(
'multiselect_select' => array(
'#input' => TRUE,
'#columns' => array(
'uid',
),
'#delta' => 0,
'#process' => array(
'multiselect_select_process',
),
),
);
}