function rules_admin_add_crumbs in Rules 6
Adds some further crumbs to the breadcrumb. Due to the bug http://drupal.org/node/430304, some pages might have no breadcrumb.
1 call to rules_admin_add_crumbs()
- rules_admin_fix_breadcrumb in rules_admin/
rules_admin.inc - Fixes the breadcrumb on the rule edit/delete/revert
File
- rules_admin/
rules_admin.inc, line 374
Code
function rules_admin_add_crumbs($crumbs) {
if ($breadcrumb = drupal_get_breadcrumb()) {
$breadcrumb = array_merge($breadcrumb, $crumbs);
drupal_set_breadcrumb($breadcrumb);
}
}