function ArgumentValidatorPluginBase::defineOptions

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

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

Overrides PluginBase::defineOptions

2 calls to ArgumentValidatorPluginBase::defineOptions()
ArgumentValidatorTest::defineOptions in core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_validator/ArgumentValidatorTest.php
Entity::defineOptions in core/modules/views/src/Plugin/views/argument_validator/Entity.php
2 methods override ArgumentValidatorPluginBase::defineOptions()
ArgumentValidatorTest::defineOptions in core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_validator/ArgumentValidatorTest.php
Entity::defineOptions in core/modules/views/src/Plugin/views/argument_validator/Entity.php

File

core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php, line 62

Class

ArgumentValidatorPluginBase
Base argument validator plugin to provide basic functionality.

Namespace

Drupal\views\Plugin\views\argument_validator

Code

protected function defineOptions() {
    return [];
}

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