function print_block_info in Printer, email and PDF versions 7
Same name and namespace in other branches
- 7.2 print.module \print_block_info()
Implements hook_block_info().
File
- ./
print.module, line 254 - Displays Printer-friendly versions of Drupal pages.
Code
function print_block_info() {
$block['print-links']['info'] = t('Printer, email and PDF versions');
$block['print-links']['cache'] = DRUPAL_CACHE_PER_PAGE;
$block['print-top']['info'] = t('Most printed');
$block['print-top']['cache'] = DRUPAL_CACHE_GLOBAL;
return $block;
}