function Fixed::defineOptions

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

Overrides ArgumentDefaultPluginBase::defineOptions

File

core/modules/views/src/Plugin/views/argument_default/Fixed.php, line 26

Class

Fixed
The fixed argument default handler.

Namespace

Drupal\views\Plugin\views\argument_default

Code

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

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