You are here

function crumbs_preprocess_page in Crumbs, the Breadcrumbs suite 7.2

Same name and namespace in other branches
  1. 6.2 crumbs.module \crumbs_preprocess_page()
  2. 6 crumbs.module \crumbs_preprocess_page()
  3. 7 crumbs.module \crumbs_preprocess_page()

Implements hook_preprocess_page().

Parameters

array $vars:

File

./crumbs.module, line 53
Provides an API for building breadcrumbs.

Code

function crumbs_preprocess_page(&$vars) {
  $vars['crumbs_trail'] = crumbs()->page->trail;
  $vars['breadcrumb'] = crumbs()->page->breadcrumbHtml;
}