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 117ade9..92376df 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 @@ -983,7 +983,7 @@ function validate_argument($arg) { * * @return TRUE if it successfully validates; FALSE if it does not. */ - function set_argument($arg) { + public function setArgument($arg) { $this->argument = $arg; return $this->validateArgument($arg); } @@ -1021,7 +1021,7 @@ function get_value() { $this->is_default = TRUE; } // Set the argument, which will also validate that the argument can be set. - if ($argument->set_argument($arg)) { + if ($argument->setArgument($arg)) { $value = $argument->argument; } unset($argument); diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index a8a8dd2..0a1c8e9 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -893,7 +893,7 @@ protected function _buildArguments() { } // Set the argument, which will also validate that the argument can be set. - if (!$argument->set_argument($arg)) { + if (!$argument->setArgument($arg)) { $status = $argument->validateFail($arg); break; }