function headerimage_block_info in Header image 7
Implementation of hook_block_info().
File
- ./
headerimage.module, line 129 - headerimage.module Conditionally display an node in a block.
Code
function headerimage_block_info() {
$blocks = array();
$headerimage_blocks = headerimage_get_blocks();
foreach ($headerimage_blocks as $key => $name) {
$blocks[$key]['info'] = check_plain($name);
$blocks[$key]['cache'] = DRUPAL_NO_CACHE;
}
return $blocks;
}