You are here

function printfriendly_views_data in PrintFriendly & PDF 7.2

Same name and namespace in other branches
  1. 7.5 views/printfriendly.views.inc \printfriendly_views_data()
  2. 7 views/printfriendly.views.inc \printfriendly_views_data()
  3. 7.3 views/printfriendly.views.inc \printfriendly_views_data()
  4. 7.4 views/printfriendly.views.inc \printfriendly_views_data()

File

views/printfriendly.views.inc, line 2

Code

function printfriendly_views_data() {
  $data = array();
  $data['node']['pfbutton'] = array(
    'title' => t('Printfriendly'),
    'help' => t('Printfriendly button.'),
    'field' => array(
      'handler' => 'printfriendly_views_handler_field_pfbutton',
      'click sortable' => FALSE,
    ),
  );
  return $data;
}