$view = Views::getView('test_argument_validator_term');
$view->initHandlers();
-
// Test the single validator for term IDs.
$view->argument['tid']->validator->options['type'] = 'tid';
$view->argument['tid']->validated_title = NULL;
$view->argument['tid']->argument_validated = NULL;
-
// Test the multiple validator for term IDs.
$view->argument['tid']->validator->options['type'] = 'tids';
$view->argument['tid']->options['break_phrase'] = TRUE;