You are here

function emvideo_theme in Embedded Media Field 6

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

Implementation of hook_theme().

File

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

Code

function emvideo_theme() {
  $themes = array(
    'emvideo_video_embed' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_thumbnail' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'no_link' => FALSE,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_thumbnail_no_link' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_thumbnail_provider_link' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_video' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_default' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_preview' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_replace' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_replace_preview' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_link' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_url' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_video_duration' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_modal_generic' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_thickbox' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_lightbox2' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_shadowbox' => array(
      'arguments' => array(
        'field' => NULL,
        'item' => NULL,
        'formatter' => NULL,
        'node' => NULL,
        'options' => array(),
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_video' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_thumbnail' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_thumbnail_no_link' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_thumbnail_provider_link' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_link' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_url' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_duration' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_embed' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_preview' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_default' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_thickbox' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_lightbox2' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_shadowbox' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_replace' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_formatter_video_replace_preview' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'emvideo.theme.inc',
    ),
    'emvideo_modal_iframe' => array(
      'arguments' => array(
        'content' => '',
      ),
      'file' => 'emvideo.theme.inc',
      'template' => 'emvideo_modal_iframe',
    ),
    'emvideo_handler_field_duration' => array(
      'arguments' => array(
        'item' => NULL,
        'field' => NULL,
        'node' => NULL,
        'values' => NULL,
        'format' => NULL,
      ),
    ),
  );
  $themes += module_invoke('emfield', 'provider_themes', 'emvideo');
  return $themes;
}