You are here

function emaudio_field_info in Embedded Media Field 6.3

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

Implementation of hook_field_info().

File

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

Code

function emaudio_field_info() {
  $fields = array(
    'emaudio' => array(
      'label' => t('Embedded Audio'),
      'description' => t('Automatically parse and display audio from a 3rd party by submitting its URL or embed code.'),
      'callbacks' => array(
        'tables' => CONTENT_CALLBACK_DEFAULT,
        'arguments' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
  return $fields;
}