protected function Raw::defineOptions

Retrieve the options when this is a new access control plugin

Overrides ArgumentDefaultPluginBase::defineOptions

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument_default/Raw.php, line 25
Definition of 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_default

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['index'] = array(
    'default' => '',
  );
  $options['use_alias'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  return $options;
}