You are here

public function ArgumentPluginBase::validateFail in Zircon Profile 8

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

How to act if validation fails.

File

core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php, line 721
Contains \Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

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

Namespace

Drupal\views\Plugin\views\argument

Code

public function validateFail() {
  $info = $this
    ->defaultActions($this->options['validate']['fail']);
  return $this
    ->defaultAction($info);
}