flickr.module in Flickr 8
Same filename and directory in other branches
Flickr Module.
File
flickr.moduleView source
<?php
/**
* @file
* Flickr Module.
*/
/**
* Implements hook_theme().
*/
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,
],
],
];
}
Functions
Name | Description |
---|---|
flickr_theme | Implements hook_theme(). |