You are here

function printfriendly_block_info in PrintFriendly & PDF 7.3

Same name and namespace in other branches
  1. 7.5 printfriendly.module \printfriendly_block_info()
  2. 7 printfriendly.module \printfriendly_block_info()
  3. 7.2 printfriendly.module \printfriendly_block_info()
  4. 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;
}