function autocomplete_widgets_field_formatter_info in Autocomplete Widgets for Text and Number Fields 7
Implements hook_field_formatter_info().
File
- ./
autocomplete_widgets.module, line 188 - Provides autocomplete widgets for Text and Number fields.
Code
function autocomplete_widgets_field_formatter_info() {
return array(
'autocomplete_widgets_nr' => array(
'label' => t('Autocomplete widget node reference'),
'description' => t('Displays textfield as a link if there exists an allowed node with that title, otherwise as plain text.'),
'field types' => array(
'text',
),
),
);
}