You are here

function brightcove_cck_widget_info in Brightcove Video Connect 6

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

Implementation of hook_widget_info().

File

brightcove_cck/brightcove_cck.module, line 338
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_widget_info() {
  return array(
    'brightcove_cck_browser' => array(
      'label' => t('Video browser & upload'),
      'field types' => array(
        'brightcove_video',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}