You are here

protected function NumericArgument::defineOptions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::defineOptions()
  2. 9 core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::defineOptions()
1 method overrides NumericArgument::defineOptions()
NumberListField::defineOptions in core/modules/options/src/Plugin/views/argument/NumberListField.php

File

core/modules/views/src/Plugin/views/argument/NumericArgument.php, line 24

Class

NumericArgument
Basic argument handler for arguments that are numeric. Incorporates break_phrase.

Namespace

Drupal\views\Plugin\views\argument

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['break_phrase'] = [
    'default' => FALSE,
  ];
  $options['not'] = [
    'default' => FALSE,
  ];
  return $options;
}