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

8.0.x
Alex Pott 2013-05-29 07:06:32 +01:00
parent a2b14f1212
commit 6778f6ccb9
1 changed files with 2 additions and 2 deletions

View File

@ -469,7 +469,7 @@ abstract class ArgumentPluginBase extends HandlerBase {
),
'empty' => array(
'title' => t('Display contents of "No results found"'),
'method' => 'default_empty',
'method' => 'defaultEmpty',
'breadcrumb' => TRUE, // generate a breadcrumb to here
),
'access denied' => array(
@ -714,7 +714,7 @@ abstract class ArgumentPluginBase extends HandlerBase {
* If an argument was expected and was not given, in this case, display
* the view's empty text
*/
function default_empty() {
public function defaultEmpty() {
// We return with no query; this will force the empty text.
$this->view->built = TRUE;
$this->view->executed = TRUE;