You are here

function bat_event_field_info in Booking and Availability Management Tools for Drupal 7

Implements hook_field_info().

File

modules/bat_event/bat_event.module, line 1619
Manage Events - Events store the EventValue of a Unit over a period of time.

Code

function bat_event_field_info() {
  return array(
    'bat_event_state_reference' => array(
      'label' => t('BAT Event State Reference'),
      'description' => t('A reference to an Event State.'),
      'settings' => array(
        'event_type' => '',
      ),
      'default_widget' => 'bat_event_state_reference_autocomplete',
      'default_formatter' => 'bat_event_state_reference_default',
      'property_type' => 'bat_event_state_reference',
      'property_callbacks' => array(
        'bat_event_state_reference_info_callback',
      ),
    ),
  );
}