1 node.module node_block_info()

Implements hook_block_info().

File

core/modules/node/node.module, line 1987
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;
}