You are here

function flickrgallery_theme in FlickrGallery 7

Same name and namespace in other branches
  1. 6.2 flickrgallery.module \flickrgallery_theme()
  2. 7.3 flickrgallery.module \flickrgallery_theme()
  3. 7.2 flickrgallery.module \flickrgallery_theme()

Implements hook_theme().

File

./flickrgallery.module, line 85
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',
    ),
  );
}