1 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

core/modules/views/handlers/views_handler_argument.inc, line 751
@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;
}