1.20.x node.module node_block_info()

Implements hook_block_info().

File

modules/node/node.module, line 2090
The core module that allows content to be submitted to the site.

Code

function node_block_info() {
  $blocks['syndicate'] = array(
    'info' => t('Syndicate'),
    'description' => t('An RSS icon linking to available feeds.'),
  );
  $blocks['recent'] = array(
    'info' => t('Recent content'),
    'description' => t('A list of recently published content.'),
  );
  $blocks['content'] = array(
    'info' => t('Existing content'),
    'description' => t('Embed existing node content as a block onto other pages'),
    'class' => 'NodeBlock',
  );

  return $blocks;
}