function views_handler_argument::default_not_found

Same name in other branches
  1. 7.x-3.x handlers/views_handler_argument.inc \views_handler_argument::default_not_found()

Default action: not found.

If an argument was expected and was not given, in this case, report the view as 'not found' or hide it.

File

handlers/views_handler_argument.inc, line 490

Class

views_handler_argument
Base class for arguments.

Code

function default_not_found() {
    // Set a failure condition and let the display manager handle it.
    $this->view->build_info['fail'] = TRUE;
    return FALSE;
}