1.20.x 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
- modules/
views/ handlers/ views_handler_argument.inc, line 774 - @todo.
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;
}