function dynamic_banner_block_info in Dynamic Banner 7.2
Same name and namespace in other branches
- 7 dynamic_banner.module \dynamic_banner_block_info()
- 8.x dynamic_banner.module \dynamic_banner_block_info()
Implements hook_block_info().
File
- ./
dynamic_banner.module, line 150 - Distributed under GNU GPL version 3
Code
function dynamic_banner_block_info() {
$blocks = array();
$blocks['dynamic_banner_block'] = array(
'info' => t('Dynamic Banner Output'),
// This will mean that on every page new code will be run (TODO: Flush page cache for banners being added).
'cache' => DRUPAL_CACHE_PER_PAGE,
);
return $blocks;
}