function flickrgallery_theme in FlickrGallery 7.2
Same name and namespace in other branches
- 6.2 flickrgallery.module \flickrgallery_theme()
- 7.3 flickrgallery.module \flickrgallery_theme()
- 7 flickrgallery.module \flickrgallery_theme()
Implements hook_theme().
File
- ./
flickrgallery.module, line 84 - This module shows the sets and photo's from a Flickr account
Code
function flickrgallery_theme($existing, $type, $theme, $path) {
return array(
'flickrgallery_wrapper_albums' => array(),
'flickrgallery_albums' => array(
'variables' => array(
'description' => NULL,
'albums' => NULL,
),
'template' => 'flickrgallery_albums',
),
'flickrgallery_set' => array(
'arguments' => 'set',
),
'flickrgallery_photoset' => array(
'variables' => array(
'photoset' => NULL,
'meta' => NULL,
),
'template' => 'flickrgallery_photoset',
),
'flickrgallery_photo' => array(
'variables' => array(
'image' => NULL,
'image_meta' => NULL,
),
'template' => 'flickrgallery_photo',
),
);
}