You are here

function twitter_post_field_is_empty in Twitter 7.6

Implement hook_field_is_empty().

File

twitter_post/twitter_post.field.inc, line 247
Field configuration for twitter_post module.

Code

function twitter_post_field_is_empty($item, $field) {
  return strlen($item['message']) == 0;
}