function _custom_breadcrumbs_taxonomy_vocabulary_breadcrumb_name in Custom Breadcrumbs 6.2
Same name and namespace in other branches
- 7.2 custom_breadcrumbs_taxonomy/custom_breadcrumbs_taxonomy.module \_custom_breadcrumbs_taxonomy_vocabulary_breadcrumb_name()
Constructs a name to display in the admin screen from the taxonomy vocabulary.
Parameters
$breadcrumb: The breadcrumb object.
Return value
A text string that will be used as the breadcrumb name.
1 string reference to '_custom_breadcrumbs_taxonomy_vocabulary_breadcrumb_name'
- custom_breadcrumbs_taxonomy_cb_breadcrumb_info in custom_breadcrumbs_taxonomy/
custom_breadcrumbs_taxonomy.module - Implements hook_cb_breadcrumb_info().
File
- custom_breadcrumbs_taxonomy/
custom_breadcrumbs_taxonomy.module, line 97 - This module implements taxonomy_based breadcrumbs using a hybrid of methods developed for the custom_breadcrumbs and taxonomy_breadcrumbs modules. Breadcrumbs are provided for node and taxonomy term pages. If 'Use taxonomy hierarchy' is…
Code
function _custom_breadcrumbs_taxonomy_vocabulary_breadcrumb_name($breadcrumb) {
$vocabulary = taxonomy_vocabulary_load($breadcrumb->vid);
return $vocabulary->name;
}