function text_content_is_empty in Content Construction Kit (CCK) 6
Same name in this branch
- 6 examples/simple_field.php \text_content_is_empty()
- 6 examples/example_field.php \text_content_is_empty()
- 6 modules/text/text.module \text_content_is_empty()
Same name and namespace in other branches
- 6.3 modules/text/text.module \text_content_is_empty()
- 6.2 modules/text/text.module \text_content_is_empty()
Implementation of hook_content_is_empty().
File
- modules/
text/ text.module, line 180 - Defines simple text field types.
Code
function text_content_is_empty($item, $field) {
if (empty($item['value'])) {
return TRUE;
}
return FALSE;
}