summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-06-07 23:16:07 (GMT)
committerAlex Pott2013-06-07 23:16:07 (GMT)
commite44d062a63f50cb2faa6645a979e4b1dcdd91a0d (patch)
tree5a6e13ff07e5ef5e5930aa938acdfc46547efd6e
parent821dc67d3fc2a1b13decd22b6be123c662d232ef (diff)
Issue #2002460 by sillygwailo, kronda: Rename Views method default_not_found() to defaultNotFound().
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php4
1 files 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 c0d1b74..895440d 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
@@ -457,7 +457,7 @@ abstract class ArgumentPluginBase extends HandlerBase {
),
'not found' => array(
'title' => t('Hide view'),
- 'method' => 'default_not_found',
+ 'method' => 'defaultNotFound',
'hard fail' => TRUE, // This is a hard fail condition
),
'summary' => array(
@@ -691,7 +691,7 @@ abstract class ArgumentPluginBase extends HandlerBase {
* If an argument was expected and was not given, in this case, report
* the view as 'not found' or hide it.
*/
- function default_not_found() {
+ protected function defaultNotFound() {
// Set a failure condition and let the display manager handle it.
$this->view->build_info['fail'] = TRUE;
return FALSE;