function button_field_content_is_empty in Button Field 6
Implementation of CCK's hook_content_is_empty().
The result of this determines whether content.module will save the value of the field. Note that content module has some interesting behaviors for empty values. It will always save at least one record for every node revision, even if the values are all NULL. If it is a multi-value field with an explicit limit, CCK will save that number of empty entries.
File
- ./
button_field.module, line 536 - Defines a field, widget and formatter for the button field type.
Code
function button_field_content_is_empty($item, $field) {
return TRUE;
}