function wp_blog_block_info in WP Blog - a WordPress-style blogging module. 7
Implements hook_block_info().
File
- ./
wp_blog.module, line 187 - WP Blog provides a content-type, taxonomy vocabulary, views and various features to mimic a WordPress-style blog.
Code
function wp_blog_block_info() {
$blocks['date_navigation'] = array(
'info' => t('Blog date navigation'),
// The block displays a navigation menu, which may have active menu-items.
// The active menu-items will change per page, and the accessible blog
// posts may change per user, depending on permissions.
'cache' => DRUPAL_CACHE_PER_PAGE | DRUPAL_CACHE_PER_USER,
);
return $blocks;
}