protected function TokenArgument::defineOptions in Views Token Argument 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/views/argument_default/TokenArgument.php \Drupal\views_argument_token\Plugin\views\argument_default\TokenArgument::defineOptions()
Retrieve the options when this is a new access control plugin.
Overrides ArgumentDefaultPluginBase::defineOptions
File
- src/
Plugin/ views/ argument_default/ TokenArgument.php, line 66
Class
- TokenArgument
- The Token argument default handler.
Namespace
Drupal\views_argument_token\Plugin\views\argument_defaultCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['argument'] = [
'default' => '',
];
$options['process'] = [
'default' => 0,
];
$options['and_or'] = [
'default' => '+',
];
$options['all_option'] = [
'default' => TRUE,
];
$options['debug'] = [
'default' => 0,
];
return $options;
}