function views_handler_argument::is_exception

1 call to views_handler_argument::is_exception()
views_handler_argument::validate_arg in handlers/views_handler_argument.inc
Validate that this argument works. By default, all arguments are valid.

File

handlers/views_handler_argument.inc, line 175

Class

views_handler_argument
Base class for arguments.

Code

public function is_exception($arg = NULL) {
    if (!isset($arg)) {
        $arg = isset($this->argument) ? $this->argument : NULL;
    }
    return !empty($this->options['exception']['value']) && $this->options['exception']['value'] === $arg;
}