2 * Implements hook_block_view().
4 function {{ machine_name }}_block_view($delta = '') {
5 // This example is adapted from node.module.
10 $block['subject'] = t('Syndicate');
11 $block['content'] = array(
12 '#theme' => 'feed_icon',
14 '#title' => t('Syndicate'),
19 if (user_access('access content')) {
20 $block['subject'] = t('Recent content');
21 if ($nodes = node_get_recent(variable_get('node_recent_block_count', 10))) {
22 $block['content'] = array(
23 '#theme' => 'node_recent_block',
27 $block['content'] = t('No content available.');