You are here

function emaudio_widget in Embedded Media Field 6

Same name and namespace in other branches
  1. 5 contrib/emaudio/emaudio.module \emaudio_widget()
  2. 6.3 contrib/emaudio/emaudio.module \emaudio_widget()
  3. 6.2 contrib/emaudio/emaudio.module \emaudio_widget()

Implementation of hook_widget().

File

contrib/emaudio/emaudio.module, line 290
Embedded Audio module is a handler for mp3 and similar audio files, hosted on 3rd party sites.

Code

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