You are here

function emaudio_widget_info in Embedded Media Field 6.3

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

Implementation of hook_widget_info().

File

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

Code

function emaudio_widget_info() {
  return array(
    'emaudio_textfields' => array(
      'label' => t('3rd Party Audio'),
      'field types' => array(
        'emaudio',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}