You are here

function workbench_access_breadcrumb in Workbench Access 7

Adds breadcrumb trails for admin pages.

Parameters

$breadcrumb: An array of links to add to the breadcrumb trail.

3 calls to workbench_access_breadcrumb()
workbench_access_editors in ./workbench_access.admin.inc
Display the editors for a section.
workbench_access_editor_form in ./workbench_access.admin.inc
Generate a user overview form for a section.
workbench_access_role_form in ./workbench_access.admin.inc
Generate a role overview form for a section.

File

./workbench_access.admin.inc, line 1078
Workbench Access admin file.

Code

function workbench_access_breadcrumb($breadcrumb = array()) {
  $current = drupal_get_breadcrumb();
  $current = array_merge($current, $breadcrumb);
  drupal_set_breadcrumb($current);
}