You are here

protected function TokenArgument::defineOptions in Views Token Argument 8

Same name and namespace in other branches
  1. 2.0.x 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 28

Class

TokenArgument
The Token argument default handler.

Namespace

Drupal\views_argument_token\Plugin\views\argument_default

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['argument'] = array(
    'default' => '',
  );
  $options['process'] = array(
    'default' => 0,
  );
  $options['and_or'] = array(
    'default' => '+',
  );
  $options['all_option'] = array(
    'default' => TRUE,
  );
  $options['debug'] = array(
    'default' => 0,
  );
  return $options;
}