Commit bda0761f authored by alexpott's avatar alexpott

Issue #2002944 by sethviebrock, jeroen12345: Rename Views method...

Issue #2002944 by sethviebrock, jeroen12345: Rename Views method uses_breadcrumb() to usesBreadcrumb().
parent b8f18c3f
......@@ -91,7 +91,7 @@ function set_breadcrumb(&$breadcrumb) { }
*
* @return TRUE/FALSE
*/
function uses_breadcrumb() {
public function usesBreadcrumb() {
$info = $this->default_actions($this->options['default_action']);
return !empty($info['breadcrumb']);
}
......
......@@ -886,7 +886,7 @@ protected function _buildArguments() {
// Since we're really generating the breadcrumb for the item above us,
// check the default action of this argument.
if ($this->display_handler->usesBreadcrumb() && $argument->uses_breadcrumb()) {
if ($this->display_handler->usesBreadcrumb() && $argument->usesBreadcrumb()) {
$path = $this->getUrl($breadcrumb_args);
if (strpos($path, '%') === FALSE) {
if (!empty($argument->options['breadcrumb_enable']) && !empty($argument->options['breadcrumb'])) {
......
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