Commit 6778f6cc authored by alexpott's avatar alexpott

Issue #2002456 by ericthelast: Rename Views method default_empty() to defaultEmpty().

parent a2b14f12
...@@ -469,7 +469,7 @@ function default_actions($which = NULL) { ...@@ -469,7 +469,7 @@ function default_actions($which = NULL) {
), ),
'empty' => array( 'empty' => array(
'title' => t('Display contents of "No results found"'), 'title' => t('Display contents of "No results found"'),
'method' => 'default_empty', 'method' => 'defaultEmpty',
'breadcrumb' => TRUE, // generate a breadcrumb to here 'breadcrumb' => TRUE, // generate a breadcrumb to here
), ),
'access denied' => array( 'access denied' => array(
...@@ -714,7 +714,7 @@ public function defaultAccessDenied() { ...@@ -714,7 +714,7 @@ public function defaultAccessDenied() {
* If an argument was expected and was not given, in this case, display * If an argument was expected and was not given, in this case, display
* the view's empty text * the view's empty text
*/ */
function default_empty() { public function defaultEmpty() {
// We return with no query; this will force the empty text. // We return with no query; this will force the empty text.
$this->view->built = TRUE; $this->view->built = TRUE;
$this->view->executed = TRUE; $this->view->executed = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment