You are here

function Fields::option_definition in Views PDF 8

Option definitions.

1 call to Fields::option_definition()
Fields::render in src/Plugin/views/row/Fields.php
Renders the rows.

File

src/Plugin/views/row/Fields.php, line 64
Contains \Drupal\views_pdf\Plugin\views\row\Fields.

Class

Fields
This class contains all the functionality of the field PDF style.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['formats'] = array(
    'default' => array(),
  );
  $options['leading_template'] = array(
    'default' => '',
  );
  $options['template'] = array(
    'default' => '',
  );
  $options['succeed_template'] = array(
    'default' => '',
  );
  return $options;
}