function finder_block_info in Finder 7.2
Same name and namespace in other branches
- 7 finder.module \finder_block_info()
Implements hook_block_info().
File
- ./
finder.module, line 207 - The finder module.
Code
function finder_block_info() {
$finders = finder_load_all(TRUE);
$blocks = array();
foreach ($finders as $finder) {
if ($finder->block) {
$blocks[$finder->name] = array(
'info' => t('Finder') . ': ' . check_plain($finder->title),
'cache' => DRUPAL_NO_CACHE,
);
}
}
return $blocks;
}