protected function Pdf::defineOptions in PDF Generator 8
Same name and namespace in other branches
- 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
- The plugin that handles a feed, such as RSS or atom.
Namespace
Drupal\pdf_generator\Plugin\views\displayCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['displays'] = [
'default' => [],
];
$options['style']['contains']['type']['default'] = 'pdf_generator_views_style_default';
return $options;
}