You are here

function uploadfield_widget_info in Video 6.3

Same name and namespace in other branches
  1. 6.5 types/uploadfield/uploadfield.module \uploadfield_widget_info()
  2. 6.4 types/uploadfield/uploadfield.module \uploadfield_widget_info()

Implementation of CCK's hook_widget_info().

1 call to uploadfield_widget_info()
_video_get_content_types in types/uploadfield/uploadfield_convert.inc
What are these functions used for?

File

types/uploadfield/uploadfield.module, line 196

Code

function uploadfield_widget_info() {
  $module_path = drupal_get_path('module', 'uploadfield');
  return array(
    'uploadfield_widget' => array(
      'label' => t('Video'),
      'field types' => array(
        'filefield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_CUSTOM,
      ),
      'description' => t('An edit widget for video files, including video thumbnails and transcoding to flash.'),
    ),
  );
}