You are here

function availability_calendar_field_is_empty in Availability Calendars 7.3

Same name and namespace in other branches
  1. 7.5 availability_calendar.field.inc \availability_calendar_field_is_empty()
  2. 7.4 availability_calendar.field.inc \availability_calendar_field_is_empty()

Implements hook_field_is_empty(). @link http://api.drupal.org/api/drupal/modules--field--field.api.php/function/...

A calendar is never considered empty as we need to store the value of the checkbox, even when it is disabled and no cid has been atached yet. This way, we can reproduce the state of that checkbox.

File

./availability_calendar.field.inc, line 134
Availability Calendar module. Defines an availability calendar field.

Code

function availability_calendar_field_is_empty($item, $field) {
  return FALSE;
}