function rooms_availability_reference_field_info in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Implements hook_field_info().
File
- modules/
rooms_availability_reference/ rooms_availability_reference.module, line 37 - Defines a field type for referencing availability information
Code
function rooms_availability_reference_field_info() {
return array(
'rooms_availability_reference' => array(
'label' => t('Rooms Availability Reference'),
'description' => t('Display availability information embedded from other fieldable content.'),
'settings' => array(
'referenceable_unit_types' => array(),
),
'default_widget' => 'rooms_availability_reference_autocomplete',
'default_formatter' => 'rooms_availability_reference_default',
),
);
}