function link_content_is_empty in Link 6.2
Same name and namespace in other branches
- 6 link.module \link_content_is_empty()
Implementation of hook_content_is_empty().
File
- ./
link.module, line 204 - Defines simple link field types.
Code
function link_content_is_empty($item, $field) {
if (empty($item['title']) && empty($item['url'])) {
return TRUE;
}
return FALSE;
}