You are here

function rooms_field_info in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Implements hook_field_info().

File

./rooms.module, line 532
Provides basic underlying functionality and configuration options used by all Rooms modules

Code

function rooms_field_info() {
  return array(
    'rooms_options' => array(
      'label' => t('Unit Options'),
      'description' => t('Bookable unit options.'),
      'settings' => array(),
      'default_widget' => 'rooms_options_combined',
      'default_formatter' => 'rooms_options_default',
      'property_type' => 'rooms_options',
      'property_callbacks' => array(
        'rooms_options_property_info_callback',
      ),
    ),
  );
}