function homebox_block_view in Homebox 7.3
Same name and namespace in other branches
- 7.2 homebox.module \homebox_block_view()
Implements hook_block_view().
File
- ./
homebox.module, line 781 - Homebox main file, takes care of global functions settings constants, etc.
Code
function homebox_block_view($delta = '', $block) {
switch ($delta) {
case 'custom':
return array(
'subject' => isset($block->title_custom) ? strip_tags($block->title_custom) : t('Custom block'),
'content' => isset($block->content) ? filter_xss_admin(_filter_autop($block->content)) : t('Click the gear icon to edit.'),
);
}
}