You are here

function flickr_block_info in Flickr 7

Implements hook_block_info().

File

block/flickr_block.module, line 24
The Flickr block module

Code

function flickr_block_info() {

  // User blocks.
  $blocks[0]['info'] = t("Flickr: Node author photos corresponding with a node's taxonomy term, location and/or date field (1)");
  $blocks[1]['info'] = t("Flickr: Node author recent photosets");
  $blocks[2]['info'] = t("Flickr: Node author photos corresponding with a node's taxonomy term, location and/or date field (2)");

  // Site wide blocks.
  $blocks[3]['info'] = t("Flickr: User photos corresponding with a node's taxonomy term, location and/or date field (1)");
  $blocks[4]['info'] = t('Flickr: User recent photosets');
  $blocks[5]['info'] = t("Flickr: User photos corresponding with a node's taxonomy term, location and/or date field (2)");
  $blocks[6]['info'] = t("Flickr: Group photos corresponding with a node's taxonomy term, location and/or date field (1)");

  // Photoset blocks.
  $blocks[7]['info'] = t("Flickr: Set photos corresponding with a node's taxonomy term (1)");
  $blocks[8]['info'] = t("Flickr: Set photos corresponding with a node's taxonomy term (2)");

  // Returns a list of favorite public photos for the given user.
  $blocks[9]['info'] = t("Flickr: Favorites corresponding with a node's taxonomy term (1)");
  $blocks[10]['info'] = t("Flickr: Group photos corresponding with a node's taxonomy term, location and/or date field (2)");
  $blocks[11]['info'] = t("Flickr: User photos with specific tags");
  $blocks[12]['info'] = t("Flickr: Favorites corresponding with a node's taxonomy term (2)");
  $blocks[13]['info'] = t("Flickr: Node author favorites (what they like from others, but all together) corresponding with a node's taxonomy term (1)");
  $blocks[14]['info'] = t("Flickr: Node author favorites corresponding with a node's taxonomy term (2)");
  $blocks[15]['info'] = t("Flickr: Node author gallery photos (arbitrary selection by author of other's photos) corresponding with a node's taxonomy term (1)");
  $blocks[16]['info'] = t("Flickr: Node author gallery photos corresponding with a node's taxonomy term (2)");
  for ($i = 0; $i < 17; $i++) {
    $blocks[$i]['cache'] = DRUPAL_CACHE_CUSTOM;
  }
  return $blocks;
}