3 namespace Drupal\views\Plugin\views\argument_validator;
6 * Do not validate the argument.
8 * @ingroup views_argument_validate_plugins
10 * @ViewsArgumentValidator(
12 * title = @Translation(" - Basic validation - ")
15 class None extends ArgumentValidatorPluginBase {
17 public function validateArgument($argument) {
18 if (!empty($this->argument->options['must_not_be'])) {
19 return !isset($argument);
22 if (!isset($argument) || $argument === '') {
26 if (!empty($this->argument->definition['numeric']) && !isset($this->argument->options['break_phrase']) && !is_numeric($arg)) {