You are here

function link_field_is_empty in Link 7

Implements hook_field_is_empty().

File

./link.module, line 309
Defines simple link field types.

Code

function link_field_is_empty($item, $field) {
  return empty($item['title']) && empty($item['url']);
}