function delta_blocks_block_info in Delta 7.3
Implements hook_block_info().
File
- delta_blocks/
delta_blocks.module, line 50 - Exposes a number of core Drupal elements as blocks.
Code
function delta_blocks_block_info() {
$blocks = array();
foreach (_delta_blocks_get_blocks() as $delta => $info) {
if (_delta_blocks_is_enabled($delta)) {
$blocks[$delta] = array(
'info' => $info['title'],
'cache' => $info['cache'],
);
}
}
return $blocks;
}