function multiple_selects_field_widget_info in Multiple Selects 7
Implements hook_field_widget_info().
Field type modules willing to use those widgets should:
- Use hook_field_widget_info_alter() to append their field own types to the list of types supported by the widgets,
File
- ./
multiple_selects.module, line 39
Code
function multiple_selects_field_widget_info() {
return array(
'multiple_selects' => array(
'label' => t('Multiple Selects list'),
'field types' => array(
'entityreference',
'node_reference',
'user_reference',
'taxonomy_term_reference',
'list_integer',
'list_float',
'list_text',
'list_boolean',
'commerce_product_reference',
),
),
);
}