function forum_block_info

Implements hook_block_info().

File

modules/forum/forum.module, line 645

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.