You are here

function forum_block_info in Drupal 7

Implements hook_block_info().

File

modules/forum/forum.module, line 645
Provides discussion forums.

Code

function forum_block_info() {
  $blocks['active'] = array(
    'info' => t('Active forum topics'),
    'cache' => DRUPAL_CACHE_CUSTOM,
    'properties' => array(
      'administrative' => TRUE,
    ),
  );
  $blocks['new'] = array(
    'info' => t('New forum topics'),
    'cache' => DRUPAL_CACHE_CUSTOM,
    'properties' => array(
      'administrative' => TRUE,
    ),
  );
  return $blocks;
}