You are here

function emvideo_widget in Embedded Media Field 6

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

Implementation of hook_widget()

File

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

Code

function emvideo_widget(&$form, &$form_state, $field, $items, $delta = 0) {
  if (module_hook('emfield', 'emfield_widget')) {
    return emfield_emfield_widget($form, $form_state, $field, $items, $delta, 'emvideo');
  }
}