node_block

  1. drupal
    1. 4.7
    2. 5 node.module
    3. 6 node.module
Versions
4.7 – 6 node_block($op = 'list', $delta = 0)

Implementation of hook_block().

Code

modules/node.module, line 1437

<?php
function node_block($op = 'list', $delta = 0) {
  if ($op == 'list') {
    $blocks[0]['info'] = t('Syndicate');
    return $blocks;
  }
  else if ($op == 'view') {
    $block['subject'] = t('Syndicate');
    $block['content'] = theme('feed_icon', url('rss.xml'));

    return $block;
  }
}
?>