function flickr_theme in Flickr 8
Same name and namespace in other branches
- 6 flickr.module \flickr_theme()
- 7 flickr.module \flickr_theme()
Implements hook_theme().
File
- ./
flickr.module, line 11 - Flickr Module.
Code
function flickr_theme() {
return [
'flickr_photo' => [
'variables' => [
'photo' => NULL,
'photo_page_url' => NULL,
'photo_image_large' => NULL,
'parent' => NULL,
'style_name' => NULL,
'caption' => NULL,
'caption_data' => NULL,
'width' => NULL,
'height' => NULL,
],
],
'flickr_photo_caption' => [
'variables' => [
'photo_size' => NULL,
'style_name' => NULL,
'caption' => NULL,
'caption_realname' => NULL,
'caption_title' => NULL,
'caption_description' => NULL,
'caption_dateuploaded' => NULL,
],
],
'flickr_photos' => [
'variables' => [
'photos' => NULL,
],
],
'flickr_photoset' => [
'variables' => [
'photos' => NULL,
'title' => NULL,
],
],
];
}