summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-06-05 08:30:11 +0100
committerAlex Pott2013-06-05 08:30:11 +0100
commit8de2be71c442d746f94234a7db0935606c3a65eb (patch)
tree864a927e0f8db1baeb617d9fe2c5bc48f61a1b4b
parent3e83ff9777b3dc206c403712981c94f36b7727c3 (diff)
Issue #2002878 by theladebug, toddtomlinson, jeroen12345: Rename Views method is_exception() to isException().
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php4
-rw-r--r--core/modules/views/lib/Drupal/views/ViewExecutable.php2
2 files changed, 3 insertions, 3 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 90efcec..cb236d9 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
@@ -96,7 +96,7 @@ abstract class ArgumentPluginBase extends HandlerBase {
return !empty($info['breadcrumb']);
}
- function is_exception($arg = NULL) {
+ public function isException($arg = NULL) {
if (!isset($arg)) {
$arg = isset($this->argument) ? $this->argument : NULL;
}
@@ -945,7 +945,7 @@ abstract class ArgumentPluginBase extends HandlerBase {
return $this->argument_validated;
}
- if ($this->is_exception($arg)) {
+ if ($this->isException($arg)) {
return $this->argument_validated = TRUE;
}
diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php
index 92c1be0..9bef1d1 100644
--- a/core/modules/views/lib/Drupal/views/ViewExecutable.php
+++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php
@@ -875,7 +875,7 @@ class ViewExecutable {
break;
}
- if ($argument->is_exception()) {
+ if ($argument->isException()) {
$arg_title = $argument->exception_title();
}
else {