You are here

flickr.module in Flickr 8

Same filename and directory in other branches
  1. 5 flickr.module
  2. 6 flickr.module
  3. 7 flickr.module

Flickr Module.

File

flickr.module
View 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

Namesort descending Description
flickr_theme Implements hook_theme().