You are here

function brightcove_field_is_empty in Brightcove Video Connect 7.7

Same name and namespace in other branches
  1. 7.6 brightcove.module \brightcove_field_is_empty()

Implements hook_field_is_empty().

File

./brightcove.module, line 483
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_field_is_empty($item, $field) {
  return empty($item['brightcove_id']) || $item['brightcove_id'] === BRIGHTCOVE_BCID_NONE;
}