You are here

public function ArgumentPluginBase::validateFail in Views (for Drupal 7) 8.3

How to act if validation failes

File

lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 670
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
    ->default_actions($this->options['validate']['fail']);
  return $this
    ->default_action($info);
}