function flipping_book_reference_field_widget_info in Flipping Book 7
Implements hook_field_widget_info().
File
- ./
flipping_book_reference.module, line 359 - Defines a field type for referencing one flipping_book from a node.
Code
function flipping_book_reference_field_widget_info() {
return array(
'flipping_book_reference_autocomplete' => array(
'label' => t('Autocomplete text field'),
'description' => t('Display the list of referenceable flipping_books as a textfield with autocomplete behaviour.'),
'field types' => array(
'flipping_book_reference',
),
'settings' => array(
'autocomplete_match' => 'contains',
'size' => 60,
'autocomplete_path' => 'flipping_book_reference/autocomplete',
),
),
);
}