You are here

function views_handler_argument::default_empty in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_argument.inc \views_handler_argument::default_empty()
  2. 7.3 handlers/views_handler_argument.inc \views_handler_argument::default_empty()

Default action: empty

If an argument was expected and was not given, in this case, display the view's empty text

File

handlers/views_handler_argument.inc, line 416

Class

views_handler_argument
Base class for arguments.

Code

function default_empty() {

  // We return with no query; this will force the empty text.
  $this->view->built = TRUE;
  $this->view->executed = TRUE;
  $this->view->result = array();
  return FALSE;
}