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