function views_handler_argument::default_empty
Same name in other branches
- 6.x-3.x 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 806
Class
- views_handler_argument
- Base class for arguments.
Code
public 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;
}