function addtoany_block_view in AddToAny Share Buttons 7.3
Same name and namespace in other branches
- 5.0 addtoany.module \addtoany_block_view()
- 7.4 addtoany.module \addtoany_block_view()
- 7 addtoany.module \addtoany_block_view()
Implements hook_block_view().
File
- ./
addtoany.module, line 112 - Stand alone module file to handle AddToAny buttons integration
Code
function addtoany_block_view($delta = 0) {
$block = array();
switch ($delta) {
case 'addtoany_button':
$block['subject'] = t('AddToAny');
$block['content'] = _addtoany_create_button(menu_get_object());
break;
}
return $block;
}