protected function Raw::defineOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/argument_default/Raw.php \Drupal\views\Plugin\views\argument_default\Raw::defineOptions()
Retrieve the options when this is a new access control plugin
Overrides ArgumentDefaultPluginBase::defineOptions
File
- core/
modules/ views/ src/ Plugin/ views/ argument_default/ Raw.php, line 80 - Contains \Drupal\views\Plugin\views\argument_default\Raw.
Class
- Raw
- Default argument plugin to use the raw value from the URL.
Namespace
Drupal\views\Plugin\views\argument_defaultCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['index'] = array(
'default' => '',
);
$options['use_alias'] = array(
'default' => FALSE,
);
return $options;
}