You are here

function ArgumentPluginBase::process_summary_arguments in Views (for Drupal 7) 8.3

Process the summary arguments for display.

For example, the validation plugin may want to alter an argument for use in the URL.

File

lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 753
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

function process_summary_arguments(&$args) {
  if ($this->options['validate']['type'] != 'none') {
    if (isset($this->validator) || ($this->validator = $this
      ->get_plugin('argument_validator'))) {
      $this->validator
        ->process_summary_arguments($args);
    }
  }
}