You are here

function addtocalendar_field_is_empty in Add To Calendar Button (AddEvent.com) 7.2

Implements hook_field_is_empty().

File

./addtocalendar.module, line 182
Contains module code.

Code

function addtocalendar_field_is_empty($item, $field) {
  if (empty($item['display_addtocalendar'])) {
    return TRUE;
  }
  return FALSE;
}