function media_vimeo_theme in Media: Vimeo 7
Same name and namespace in other branches
- 6 media_vimeo.module \media_vimeo_theme()
- 7.2 media_vimeo.module \media_vimeo_theme()
Implements hook_theme().
File
- ./
media_vimeo.module, line 59 - media_vimeo/media_vimeo.module
Code
function media_vimeo_theme($existing, $type, $theme, $path) {
return array(
'media_vimeo_preview_style' => array(
'variables' => array(
'style_name' => NULL,
),
'file' => 'media_vimeo.theme.inc',
'path' => $path . '/includes/themes',
),
'media_vimeo_field_formatter_styles' => array(
'variables' => array(
'element' => NULL,
'style' => NULL,
),
'file' => 'media_vimeo.theme.inc',
'path' => $path . '/includes/themes',
),
'media_vimeo_video' => array(
'variables' => array(
'uri' => NULL,
'options' => array(),
),
'file' => 'media_vimeo.theme.inc',
'path' => $path . '/includes/themes',
'template' => 'media-vimeo-video',
),
'media_vimeo_embed' => array(
'variables' => array(
'style_name' => NULL,
'uri' => NULL,
'alt' => NULL,
'title' => NULL,
),
'file' => 'media_vimeo.theme.inc',
'path' => $path . '/includes/themes',
),
'media_vimeo_styles' => array(
'variables' => array(
'element' => NULL,
'style' => NULL,
),
'file' => 'media_vimeo.theme.inc',
'path' => $path . '/includes/themes',
),
);
}