1 link.module link_field_is_empty($item, $field)

Implements hook_field_is_empty().

File

core/modules/link/link.module, line 258
Defines simple link field types.

Code

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