Retrieve the options when this is a new access
control plugin
Overrides ArgumentValidatorPluginBase::defineOptions
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument_validator/Php.php, line 25
- Definition of Drupal\views\Plugin\views\argument_validator\Php.
Class
- Php
- Provide PHP code to validate whether or not an argument is ok.
Namespace
Drupal\views\Plugin\views\argument_validator
Code
protected function defineOptions() {
$options = parent::defineOptions();
$options['code'] = array(
'default' => '',
);
return $options;
}