function addthis_field_is_empty in AddThis 7.4
Implements hook_field_is_empty().
File
- includes/
addthis.field.inc, line 26 - Field related hook implementations for the AddThis-module.
Code
function addthis_field_is_empty($item, $field) {
return empty($item['value']) && (string) $item['value'] !== '0';
}