public function ArgumentPluginBase::validateFail

How to act if validation failes

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 674
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

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