You are here

function birthdays_field_is_empty in Birthdays 7

Implements hook_field_is_empty().

File

./birthdays.module, line 333
The Birthdays module allows users to add their birthday to their profile. It lists birthdays on a seperate page and in different blocks. Users can receive an email on their birthday automatically, and the administrator can receive daily reminders of…

Code

function birthdays_field_is_empty($item, $field) {
  return empty($item['month']) && empty($item['day']) && empty($item['year']);
}