You are here

function bat_event_field_widget_info in Booking and Availability Management Tools for Drupal 7

Implements hook_field_widget_info().

File

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

Code

function bat_event_field_widget_info() {
  return array(
    'bat_event_reference_autocomplete' => array(
      'label' => t('Autocomplete text field'),
      'description' => t('Display the list of referenceable units as a textfield with autocomplete behaviour.'),
      'field types' => array(
        'bat_event_state_reference',
      ),
      'settings' => array(
        'autocomplete_match' => 'contains',
        'size' => 60,
        'autocomplete_path' => 'bat_event/state_event/autocomplete',
      ),
    ),
  );
}