Commit 7b3a9a93 authored by alexpott's avatar alexpott

Issue #2003306 by markie: Rename Views method set_breadcrumb() to setBreadcrumb().

parent 802b6c0c
......@@ -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;
}
......
......@@ -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;
}
......
......@@ -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
......
......@@ -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'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment