function printfriendly_block_info in PrintFriendly & PDF 7.2
Same name and namespace in other branches
- 7.5 printfriendly.module \printfriendly_block_info()
- 7 printfriendly.module \printfriendly_block_info()
- 7.3 printfriendly.module \printfriendly_block_info()
- 7.4 printfriendly.module \printfriendly_block_info()
Implements hook_block_info().
File
- ./
printfriendly.module, line 53 - Adds PrintFriendly button to chosen node types and provides a block.
Code
function printfriendly_block_info() {
$blocks['printfriendly'] = array(
'info' => t('PrintFriendly Widget'),
'cache' => DRUPAL_CACHE_GLOBAL,
);
return $blocks;
}