function media_flickr_theme in Media: Flickr 7
Same name and namespace in other branches
- 7.2 media_flickr.module \media_flickr_theme()
Implements hook_theme().
File
- ./
media_flickr.module, line 78 - Media: Flickr provides a stream wrapper and formatters for photos provided by Flickr, available at https://flickr.com/.
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',
),
);
}