You are here

function media_vimeo_theme in Media: Vimeo 6

Same name and namespace in other branches
  1. 7.2 media_vimeo.module \media_vimeo_theme()
  2. 7 media_vimeo.module \media_vimeo_theme()

Implementation of hook_theme().

File

./media_vimeo.module, line 34
media_vimeo/media_vimeo.module Embedded Video Field provider file for Vimeo.com.

Code

function media_vimeo_theme($existing, $type, $theme, $path) {
  return array(
    'media_vimeo' => array(
      'file' => 'media_vimeo.theme.inc',
      'path' => $path . '/themes',
      'arguments' => array(
        'video_code' => NULL,
        'options' => array(),
      ),
      'template' => 'media-vimeo',
    ),
    'media_vimeo_flash' => array(
      'file' => 'media_vimeo.theme.inc',
      'path' => $path . '/themes',
      'arguments' => array(
        'video_code' => NULL,
        'options' => array(),
      ),
      'template' => 'media-vimeo-flash',
    ),
    'media_vimeo_universal' => array(
      'file' => 'media_vimeo.theme.inc',
      'path' => $path . '/themes',
      'arguments' => array(
        'video_code' => NULL,
        'options' => array(),
      ),
      'template' => 'media-vimeo-universal',
    ),
  );
}