You are here

protected function Fixed::defineOptions in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/argument_default/Fixed.php \Drupal\views\Plugin\views\argument_default\Fixed::defineOptions()
  2. 10 core/modules/views/src/Plugin/views/argument_default/Fixed.php \Drupal\views\Plugin\views\argument_default\Fixed::defineOptions()

Retrieve the options when this is a new access control plugin.

Overrides ArgumentDefaultPluginBase::defineOptions

File

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

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;
}