function number_content_is_empty in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 6.3 modules/number/number.module \number_content_is_empty()
- 6.2 modules/number/number.module \number_content_is_empty()
Implementation of hook_content_is_empty().
File
- modules/
number/ number.module, line 229 - Defines numeric field types.
Code
function number_content_is_empty($item, $field) {
if (empty($item['value'])) {
return TRUE;
}
return FALSE;
}