function _field_collection_field_is_not_boolean in Field collection 7
Callback used by array_filter in field_collection_is_empty.
1 string reference to '_field_collection_field_is_not_boolean'
- field_collection_item_is_empty in ./
field_collection.module - Determines whether a field collection item entity is empty based on the collection-fields.
File
- ./
field_collection.module, line 832 - Module implementing field collection field type.
Code
function _field_collection_field_is_not_boolean($instance) {
$field = field_info_field($instance['field_name']);
return $field['type'] !== 'list_boolean';
}