You are here

protected function Pdf::defineOptions in PDF Generator 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/views/display/Pdf.php \Drupal\pdf_generator\Plugin\views\display\Pdf::defineOptions()

Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().

Overrides PathPluginBase::defineOptions

File

src/Plugin/views/display/Pdf.php, line 167

Class

Pdf
The plugin that handles a feed, such as RSS or atom.

Namespace

Drupal\pdf_generator\Plugin\views\display

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['displays'] = [
    'default' => [],
  ];
  $options['style']['contains']['type']['default'] = 'pdf_generator_views_style_default';
  return $options;
}