public function views_handler_argument_term_node_tid::set_breadcrumb in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 modules/taxonomy/views_handler_argument_term_node_tid.inc \views_handler_argument_term_node_tid::set_breadcrumb()
- 6.2 modules/taxonomy/views_handler_argument_term_node_tid.inc \views_handler_argument_term_node_tid::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
- modules/
taxonomy/ views_handler_argument_term_node_tid.inc, line 40 - Definition of views_handler_argument_term_node_tid.
Class
- views_handler_argument_term_node_tid
- Allow taxonomy term ID(s) as argument.
Code
public function set_breadcrumb(&$breadcrumb) {
if (empty($this->options['set_breadcrumb']) || !is_numeric($this->argument)) {
return;
}
return views_taxonomy_set_breadcrumb($breadcrumb, $this);
}