You are here

function multiselect_widget_info in Multiselect 5

Same name and namespace in other branches
  1. 5.2 multiselect.module \multiselect_widget_info()
  2. 6 multiselect.module \multiselect_widget_info()

Implementation of hook_widget_info. Specifies the label and that it is a widget for the nodereference field type

File

./multiselect.module, line 44
Allows users to select multiple items in an easier way than the normal node-reference widget

Code

function multiselect_widget_info() {
  return array(
    'multiselect_select' => array(
      'label' => 'Multiselect List',
      'field types' => array(
        'nodereference',
      ),
    ),
  );
}