You are here

function node_comment_block_block_info in Node Comment Block 7

Same name and namespace in other branches
  1. 7.2 node_comment_block.module \node_comment_block_block_info()

Implements hook_block_info().

File

./node_comment_block.module, line 11
Moves the comments for a node into a block.

Code

function node_comment_block_block_info() {
  $blocks['node_comments'] = array(
    'info' => t('Node comments'),
  );
  $blocks['node_comments_secondary'] = array(
    'info' => t('Node comments secondary block'),
  );
  return $blocks;
}