You are here

function video_field_widget_info in Video 7

Same name and namespace in other branches
  1. 7.2 video.field.inc \video_field_widget_info()

Implements hook_field_widget_info().

File

./video.field.inc, line 247
Implement an video field, based on the file module's file field.

Code

function video_field_widget_info() {
  return array(
    'video_upload' => array(
      'label' => t('Video Upload'),
      'field types' => array(
        'video',
      ),
      'settings' => array(
        'progress_indicator' => 'throbber',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}