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 f51a5ce..a492615 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 7c5a0eb..669f004 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 f9dcaee..b038008 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 b4f76c2..1a84239 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -900,7 +900,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'])) {