function recipe_field_is_empty in Recipe 7.2
Implements hook_field_is_empty().
File
- ./
recipe.module, line 581 - Contains functions for Recipe node CRUD and display.
Code
function recipe_field_is_empty($item, $field) {
if (!is_array($item) || empty($item['name'])) {
return TRUE;
}
return FALSE;
}