public function ViewsJsonFilter::defineOptions in Views Json Source 8
Same name and namespace in other branches
- 1.x src/Plugin/views/filter/ViewsJsonFilter.php \Drupal\views_json_source\Plugin\views\filter\ViewsJsonFilter::defineOptions()
Option definition.
Overrides FilterPluginBase::defineOptions
File
- src/
Plugin/ views/ filter/ ViewsJsonFilter.php, line 20
Class
- ViewsJsonFilter
- Base filter handler for views_json_source.
Namespace
Drupal\views_json_source\Plugin\views\filterCode
public function defineOptions() {
$options = parent::defineOptions();
$options['key'] = [
'default' => '',
];
return $options;
}