You are here

public static function ArgumentPluginBase::decodeValidatorId in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::decodeValidatorId()

Revert sanitized validator options.

Parameters

string $id: The sanitized identifier to be reverted.

Return value

string The original identifier.

2 calls to ArgumentPluginBase::decodeValidatorId()
ArgumentPluginBase::submitOptionsForm in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Handle any special handling on the validate form.
ArgumentPluginBase::validateOptionsForm in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Validate the options form.

File

core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php, line 1242

Class

ArgumentPluginBase
Base class for argument (contextual filter) handler plugins.

Namespace

Drupal\views\Plugin\views\argument

Code

public static function decodeValidatorId($id) {
  return str_replace('---', ':', $id);
}