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