function media_flickr_theme in Media: Flickr 7.2
Same name and namespace in other branches
- 7 media_flickr.module \media_flickr_theme()
Implements hook_theme().
File
- ./
media_flickr.module, line 83 - Provides a stream wrapper and formatters appropriate for accessing and displaying Flickr images.
Code
function media_flickr_theme($existing, $type, $theme, $path) {
return array(
'media_flickr_preview_style' => array(
'variables' => array(
'field_type' => NULL,
'container_name' => NULL,
'style_name' => NULL,
),
'file' => 'media_flickr.theme.inc',
'path' => $path . '/themes',
),
'media_flickr_field_formatter_styles' => array(
'variables' => array(
'element' => NULL,
'style' => NULL,
),
'file' => 'media_flickr.theme.inc',
'path' => $path . '/themes',
),
'media_flickr_embed' => array(
'variables' => array(
'style_name' => NULL,
'uri' => NULL,
'alt' => NULL,
'title' => NULL,
),
'file' => 'media_flickr.theme.inc',
'path' => $path . '/themes',
),
'media_flickr_styles' => array(
'variables' => array(
'element' => NULL,
'style' => NULL,
),
'file' => 'media_flickr.theme.inc',
'path' => $path . '/themes',
),
'media_flickr_photoset' => array(
'variables' => array(
'uri' => NULL,
'width' => NULL,
'height' => NULL,
),
'file' => 'media_flickr.theme.inc',
'path' => $path . '/themes',
'template' => 'media-flickr-photoset',
),
);
}