1.20.x views_handler_argument.inc views_handler_argument::is_exception($arg = NULL)

File

modules/views/handlers/views_handler_argument.inc, line 156
@todo.

Class

views_handler_argument
Base class for arguments.

Code

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;
}