function ArgumentPluginBase::decodeValidatorId

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::decodeValidatorId()
  2. 8.9.x core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::decodeValidatorId()
  3. 11.x 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 1288

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);
}

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