function media_vimeo_theme in Media: Vimeo 7.2
Same name and namespace in other branches
- 6 media_vimeo.module \media_vimeo_theme()
- 7 media_vimeo.module \media_vimeo_theme()
Implements hook_theme().
File
- ./
media_vimeo.module, line 40 - Provides a stream wrapper and formatters appropriate for accessing and displaying Vimeo videos.
Code
function media_vimeo_theme($existing, $type, $theme, $path) {
return array(
'media_vimeo_video' => array(
'variables' => array(
'uri' => NULL,
'options' => array(),
),
'file' => 'media_vimeo.theme.inc',
'path' => $path . '/themes',
'template' => 'media-vimeo-video',
),
);
}