function views_pdf_views_data in Views PDF 6
Same name and namespace in other branches
- 8 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()
Implementation of hook_views_data()
File
- ./
views_pdf.views.inc, line 30 - 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' => 'views_pdf_handler_page_break',
'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' => 'views_pdf_handler_page_number',
'click sortable' => FALSE,
'notafield' => TRUE,
),
);
return $data;
}