function views_pdf_views_plugins in Views PDF 8
Same name and namespace in other branches
- 6 views_pdf.views.inc \views_pdf_views_plugins()
- 7.3 views_pdf.views.inc \views_pdf_views_plugins()
- 7 views_pdf.views.inc \views_pdf_views_plugins()
- 7.2 views_pdf.views.inc \views_pdf_views_plugins()
Implements hook_views_plugins().
File
- ./
views_pdf.views.inc, line 48 - Implementaion of the views hooks.
Code
function views_pdf_views_plugins() {
return array(
'module' => 'views_pdf',
'display' => array(
'pdf' => array(
'title' => t('PDF Page'),
'help' => t('Outputs the view as a PDF file.'),
'handler' => 'Page',
'uses hook menu' => TRUE,
'use ajax' => FALSE,
'use pager' => FALSE,
'use more' => FALSE,
'accept attachments' => FALSE,
'admin' => t('PDF Page'),
),
),
'style' => array(
'pdf_table' => array(
'title' => t('PDF Table'),
'help' => t('Display the view as a table.'),
'handler' => 'Table',
'parent' => 'default',
'uses row plugin' => FALSE,
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'pdf',
),
'pdf_unformatted' => array(
'title' => t('PDF unformatted'),
'help' => t('Display the view in a unformatted way.'),
'handler' => 'Unformatted',
'parent' => 'default',
'uses row plugin' => TRUE,
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'pdf',
),
'pdf_threecolumn' => array(
'title' => t('PDF three column'),
'help' => t('Display the view in a 3 column grid.'),
'handler' => 'ThreeColumn',
'parent' => 'default',
'uses row plugin' => TRUE,
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'pdf',
),
),
'row' => array(
'pdf_fields' => array(
'title' => t('PDF Fields'),
'help' => t('Displays the fields with an optional template.'),
'handler' => 'Fields',
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'pdf',
'help topic' => 'style-row-fields',
),
),
);
}