You are here

protected function CalendarValidator::defineOptions in Calendar 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/argument_validator/CalendarValidator.php \Drupal\calendar\Plugin\views\argument_validator\CalendarValidator::defineOptions()

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

Overrides ArgumentValidatorPluginBase::defineOptions

File

src/Plugin/views/argument_validator/CalendarValidator.php, line 90

Class

CalendarValidator
Defines a argument validator plugin for Date arguments used in Calendar.

Namespace

Drupal\calendar\Plugin\views\argument_validator

Code

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