function _custom_breadcrumbs_breadcrumb_name in Custom Breadcrumbs 6.2
Same name and namespace in other branches
- 7.2 custom_breadcrumbs.module \_custom_breadcrumbs_breadcrumb_name()
Constructs a default name to display in the admin screen.
1 string reference to '_custom_breadcrumbs_breadcrumb_name'
- custom_breadcrumbs_cb_breadcrumb_info in ./
custom_breadcrumbs.module - Implements hook_cb_breadcrumb_info().
File
- ./
custom_breadcrumbs.module, line 36 - Provide custom breadcrumbs for node-type pages and base functionality for submodules to add custom breadcrumbs for other types of pages.
Code
function _custom_breadcrumbs_breadcrumb_name($breadcrumb) {
if (isset($breadcrumb->node_type)) {
return $breadcrumb->node_type;
}
}