You are here

function nat_handler_argument_term_node_tid_depth::set_breadcrumb in Node Auto Term [NAT] 7

Same name and namespace in other branches
  1. 6.2 includes/nat_handler_argument_term_node_tid_depth.inc \nat_handler_argument_term_node_tid_depth::set_breadcrumb()
  2. 6 includes/nat_handler_argument_term_node_tid_depth.inc \nat_handler_argument_term_node_tid_depth::set_breadcrumb()
  3. 7.2 includes/nat_handler_argument_term_node_tid_depth.inc \nat_handler_argument_term_node_tid_depth::set_breadcrumb()

Give an argument the opportunity to modify the breadcrumb, if it wants.

Only gets called on displays where a breadcrumb is actually used.

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.

Overrides views_handler_argument::set_breadcrumb

File

includes/nat_handler_argument_term_node_tid_depth.inc, line 50
NAT (Node Auto Term) nid views argument with depth handler.

Class

nat_handler_argument_term_node_tid_depth
Argument handler for NAT terms over NAT nid with depth.

Code

function set_breadcrumb(&$breadcrumb) {
  if (empty($this->options['set_breadcrumb']) || !is_numeric($this->argument)) {
    return;
  }
  return views_taxonomy_set_breadcrumb($breadcrumb, $this);
}