protected function ViewFormatterTemplate::defineOptions in Field Formatter Template 8
Same name and namespace in other branches
- 8.2 modules/vff/src/Plugin/views/style/ViewFormatterTemplate.php \Drupal\vff\Plugin\views\style\ViewFormatterTemplate::defineOptions()
Definition.
Overrides StylePluginBase::defineOptions
File
- modules/
vff/ src/ Plugin/ views/ style/ ViewFormatterTemplate.php, line 47
Class
- ViewFormatterTemplate
- Style plugin to render each item in an ordered or unordered list.
Namespace
Drupal\vff\Plugin\views\styleCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['template'] = [
'default' => '',
];
$options['render_type'] = [
'default' => 'raw',
];
$options['vff_tree_field'] = [
'default' => '',
];
$options['vff_tree_parent_field'] = [
'default' => '',
];
$options['vff_clean_template'] = [
'default' => '',
];
$options['show_empty'] = [
'default' => '',
];
return $options;
}