You are here

function tweet_feed_field_is_empty in Tweet Feed 7.2

Same name and namespace in other branches
  1. 7.3 tweet_feed.field_info.inc \tweet_feed_field_is_empty()

Implements hook_field_is_empty().

File

./tweet_feed.field_info.inc, line 20

Code

function tweet_feed_field_is_empty($item, $field) {
  if ($field['type'] == 'tweet_feed_user_mention') {
    if (empty($item['tweet_feed_mention_id'])) {
      return TRUE;
    }
    return FALSE;
  }
}