function bat_event_field_is_empty in Booking and Availability Management Tools for Drupal 7
Implements hook_field_is_empty().
File
- modules/
bat_event/ bat_event.module, line 1689 - Manage Events - Events store the EventValue of a Unit over a period of time.
Code
function bat_event_field_is_empty($item, $field) {
return empty($item['state_id']);
}