You are here

function printfriendly_views_api in PrintFriendly & PDF 7.3

Same name and namespace in other branches
  1. 7.5 printfriendly.module \printfriendly_views_api()
  2. 7 printfriendly.module \printfriendly_views_api()
  3. 7.2 printfriendly.module \printfriendly_views_api()
  4. 7.4 printfriendly.module \printfriendly_views_api()

Register module with views api.

File

./printfriendly.module, line 108
Adds PrintFriendly button to chosen node types and provides a block.

Code

function printfriendly_views_api() {
  return array(
    'api' => '3.0',
    'path' => drupal_get_path('module', 'printfriendly') . '/views',
  );
}