function NumericArgument::defineOptions

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::defineOptions()
  2. 10 core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::defineOptions()
  3. 11.x core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::defineOptions()

Overrides ArgumentPluginBase::defineOptions

1 call to NumericArgument::defineOptions()
NumberListField::defineOptions in core/modules/options/src/Plugin/views/argument/NumberListField.php
Information about options for all kinds of purposes will be held here.
1 method overrides NumericArgument::defineOptions()
NumberListField::defineOptions in core/modules/options/src/Plugin/views/argument/NumberListField.php
Information about options for all kinds of purposes will be held here.

File

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

Class

NumericArgument
Basic argument handler for arguments that are numeric.

Namespace

Drupal\views\Plugin\views\argument

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.