diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTid.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTid.php index 719756077a3854cc09bfa18f960ed69279799ecc..3979196bd24267e37a572fad010d2e930a95b582 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTid.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTid.php @@ -35,7 +35,7 @@ public function buildOptionsForm(&$form, &$form_state) { ); } - function set_breadcrumb(&$breadcrumb) { + public function setBreadcrumb(&$breadcrumb) { if (empty($this->options['set_breadcrumb']) || !is_numeric($this->argument)) { return; } diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php index 7c5a0ebebe90e648cb5c03de4b24a9bfab672b51..669f004ee90b975f6b07c4736b7ceeb8a35c39ab 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php @@ -69,7 +69,7 @@ public function buildOptionsForm(&$form, &$form_state) { parent::buildOptionsForm($form, $form_state); } - function set_breadcrumb(&$breadcrumb) { + public function setBreadcrumb(&$breadcrumb) { if (empty($this->options['set_breadcrumb']) || !is_numeric($this->argument)) { return; } 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 66177c2fe117fcbf0d4701c33a718119cf56e2f8..90efcecc5664fd6bea00c5be771f8ed41a8b871a 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 @@ -84,7 +84,7 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o * The breadcrumb will be in the form of an array, with the keys being * the path and the value being the already sanitized title of the path. */ - function set_breadcrumb(&$breadcrumb) { } + public function setBreadcrumb(&$breadcrumb) { } /** * Determine if the argument can generate a breadcrumb diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index bb1dcb719b28038709d0fc20793ae78b2a5998f3..92c1be00b57680790643c1821e8bf936927ce9f2 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -903,7 +903,7 @@ protected function _buildArguments() { } // Allow the argument to muck with this breadcrumb. - $argument->set_breadcrumb($this->build_info['breadcrumb']); + $argument->setBreadcrumb($this->build_info['breadcrumb']); // Test to see if we should use this argument's title if (!empty($argument->options['title_enable']) && !empty($argument->options['title'])) {