From 6778f6ccb9c3ca8e7bea1fc34343f355d3545a3e Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 29 May 2013 07:06:32 +0100 Subject: [PATCH] Issue #2002456 by ericthelast: Rename Views method default_empty() to defaultEmpty(). --- .../Drupal/views/Plugin/views/argument/ArgumentPluginBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php index c1d77242f08..d55b317f54b 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php @@ -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;