You are here

function flickr_theme in Flickr 7

Same name and namespace in other branches
  1. 8 flickr.module \flickr_theme()
  2. 6 flickr.module \flickr_theme()

Implements hook_theme().

File

./flickr.module, line 108
The Flickr module.

Code

function flickr_theme() {
  return array(
    'flickr_photo' => array(
      'variables' => array(
        'size' => NULL,
        'format' => NULL,
        'attribs' => NULL,
        'min_title' => variable_get('flickr_title_suppress_on_small', '100'),
        'min_metadata' => variable_get('flickr_metadata_suppress_on_small', '150'),
      ),
    ),
    'flickr_photo_box' => array(
      'variables' => array(
        'size' => NULL,
        'format' => NULL,
        'attribs' => NULL,
      ),
    ),
    'flickr_photos' => array(
      'variables' => array(
        'uid' => NULL,
        'photos' => NULL,
      ),
    ),
    'flickr_photoset' => array(
      'variables' => array(
        'attribs' => NULL,
        'min_title' => variable_get('flickr_title_suppress_on_small', '100'),
        'min_metadata' => variable_get('flickr_metadata_suppress_on_small', '150'),
      ),
    ),
    'flickr_flickrcomslideshow' => array(
      'variables' => array(
        'id' => NULL,
        'class' => NULL,
        'style' => NULL,
      ),
    ),
    'flickr_flickrcomslideshow_simple' => array(
      'variables' => array(
        'id' => NULL,
        'class' => NULL,
        'style' => NULL,
      ),
    ),
  );
}