function views_pdf_views_data in Views PDF 8
Same name and namespace in other branches
- 6 views_pdf.views.inc \views_pdf_views_data()
- 7.3 views_pdf.views.inc \views_pdf_views_data()
- 7 views_pdf.views.inc \views_pdf_views_data()
- 7.2 views_pdf.views.inc \views_pdf_views_data()
Implements hook_views_data().
File
- ./
views_pdf.views.inc, line 15 - Implementaion of the views hooks.
Code
function views_pdf_views_data() {
$data['pdf']['table']['group'] = t('PDF');
$data['pdf']['table']['join'] = array(
'#global' => array(),
);
$data['pdf']['page_break'] = array(
'title' => t('Page Break'),
'help' => t('Insert in the PDF view a new page.'),
'field' => array(
'handler' => 'PageBreak',
'click sortable' => FALSE,
'notafield' => TRUE,
),
);
$data['pdf']['page_number'] = array(
'title' => t('Page Number'),
'help' => t('Contains the page number of the current page.'),
'field' => array(
'handler' => 'PageNumber',
'click sortable' => FALSE,
'notafield' => TRUE,
),
);
return $data;
}