Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NumericArgument.php

function NumericArgument::defineOptions

Overrides ArgumentPluginBase::defineOptions

2 calls 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.
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 27

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;
}
RSS feed
Powered by Drupal