You are here

function brightcove_cck_content_is_empty in Brightcove Video Connect 6

Same name and namespace in other branches
  1. 6.2 brightcove_cck/brightcove_cck.module \brightcove_cck_content_is_empty()

Implementation fo hook_content_is_empty().

File

brightcove_cck/brightcove_cck.module, line 198
Brightcove CCK module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.

Code

function brightcove_cck_content_is_empty($item, $field) {
  if (!empty($item['video_id'])) {
    return FALSE;
  }
  return TRUE;
}