You are here

function views_pdf_handler_page_break::option_definition in Views PDF 7

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

This method contains the defintion of the options for the page break.

Overrides views_handler_field::option_definition

File

field_plugins/views_pdf_handler_page_break.inc, line 32
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 option_definition() {
  $options = parent::option_definition();
  $options['last_row'] = array(
    'default' => FALSE,
  );
  $options['every_nth'] = array(
    'default' => 1,
  );
  return $options;
}