You are here

function emvideo_widget_info in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/emvideo.module \emvideo_widget_info()
  2. 6.2 contrib/emvideo/emvideo.module \emvideo_widget_info()

Implementation of hook_widget_info

File

contrib/emvideo/emvideo.module, line 375
Embedded Video module is a handler for 3rd party video files.

Code

function emvideo_widget_info() {
  return array(
    'emvideo_textfields' => array(
      'label' => '3rd Party Video',
      'field types' => array(
        'emvideo',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}