protected function SimilarTermsArgument::defineOptions in Similar By Terms 8
Define default values for options.
Overrides NumericArgument::defineOptions
File
- src/
Plugin/ views/ argument/ SimilarTermsArgument.php, line 67
Class
- SimilarTermsArgument
- Argument handler to accept a node id.
Namespace
Drupal\similarterms\Plugin\views\argumentCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['vocabularies'] = [
'default' => [],
];
$options['include_args'] = [
'default' => FALSE,
];
return $options;
}