You are here

function brightcove_field_field_widget_info in Brightcove Video Connect 7.3

Same name and namespace in other branches
  1. 7.2 brightcove_field/brightcove_field.module \brightcove_field_field_widget_info()
  2. 7.4 brightcove_field/brightcove_field.module \brightcove_field_field_widget_info()
  3. 7.5 brightcove_field/brightcove_field.module \brightcove_field_field_widget_info()

Implementation of hook_widget_info().

File

brightcove_field/brightcove_field.module, line 694
Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.

Code

function brightcove_field_field_widget_info() {
  return array(
    BRIGHTCOVE_VIDEO_WIDGET => array(
      'label' => t('Video (upload/browse)'),
      'field types' => array(
        'brightcove_field',
      ),
      'behaviors' => array(
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
    BRIGHTCOVE_PLAYLIST_WIDGET => array(
      'label' => t('Playlist (create/browse)'),
      'field types' => array(
        'brightcove_field',
      ),
      'behaviors' => array(
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}