function views_handler_argument::default_not_found
3.x views_handler_argument.inc | views_handler_argument::default_not_found() |
2.x 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 720 - @todo.
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;
}