You are here

protected function Fixed::defineOptions in Drupal 8

Same name and namespace in other branches
  1. 9 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;
}