You are here

function PageBreak::option_definition in Views PDF 8

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

File

src/Plugin/views/style/PageBreak.php, line 34
Contains \Drupal\views_pdf\Plugin\views\style\PageBreak.

Class

PageBreak
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;
}