You are here

function views_pdf_handler_page_break::options_form in Views PDF 6

Same name and namespace in other branches
  1. 7.3 field_plugins/views_pdf_handler_page_break.inc \views_pdf_handler_page_break::options_form()
  2. 7 field_plugins/views_pdf_handler_page_break.inc \views_pdf_handler_page_break::options_form()
  3. 7.2 handlers/views_pdf_handler_page_break.inc \views_pdf_handler_page_break::options_form()

Option form

File

field_plugins/views_pdf_handler_page_break.inc, line 44
The page break plugin for PDF page display.

Class

views_pdf_handler_page_break
Plugin class that holds the functionality for the page break in a PDF display.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['last_row'] = array(
    '#type' => 'checkbox',
    '#title' => t('Exclude from last row'),
    '#default_value' => $this->options['last_row'],
    '#description' => t('Check this box to not add new page on last row.'),
  );
}