You are here

function bat_event_state_reference_field_data_property_info in Booking and Availability Management Tools for Drupal 7

Defines info for the properties of the State Reference field data structure.

2 calls to bat_event_state_reference_field_data_property_info()
bat_event_rules_data_info in modules/bat_event/bat_event.rules.inc
Implements hook_rules_data_info().
bat_event_state_reference_info_callback in modules/bat_event/bat_event.module
Callback to alter the property info of State reference fields.

File

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

Code

function bat_event_state_reference_field_data_property_info($name = NULL) {
  return array(
    'state_id' => array(
      'label' => t('State ID'),
      'type' => 'integer',
      'getter callback' => 'entity_property_verbatim_get',
      'setter callback' => 'entity_property_verbatim_set',
    ),
  );
}