You are here

function reviews_block_info in Reviews 7

Implements hook_block_info().

File

./reviews.module, line 281
This file defines all the necessary hooks and functions to create a system for enabling and authoring content reviews on a per content type basis.

Code

function reviews_block_info() {
  $blocks['reviews'] = array(
    'info' => t('Reviews'),
    'description' => t('Add a block to the node page to show reviews for that node.'),
    'status' => FALSE,
  );
  $blocks['my_reviews'] = array(
    'info' => t('My Reviews'),
    'description' => t('Add a block to display the reviews made by the current user.'),
    'status' => FALSE,
  );
  return $blocks;
}