function finder_block_view in Finder 7.2
Same name and namespace in other branches
- 7 finder.module \finder_block_view()
Implements hook_block_view().
File
- ./
finder.module, line 224 - The finder module.
Code
function finder_block_view($delta = '') {
$block = array();
if (user_access('use finder')) {
$finder = finder_load($delta);
if ($finder) {
$block = $finder
->block();
}
}
return $block;
}