You are here

function crumbs_get_trail in Crumbs, the Breadcrumbs suite 6

Same name and namespace in other branches
  1. 6.2 crumbs.module \crumbs_get_trail()
  2. 7.2 crumbs.module \crumbs_get_trail()
  3. 7 crumbs.module \crumbs_get_trail()
2 calls to crumbs_get_trail()
crumbs_get_breadcrumb in ./crumbs.module
crumbs_preprocess_page in ./crumbs.module

File

./crumbs.module, line 67

Code

function crumbs_get_trail() {
  static $_trail;
  if (!isset($_trail)) {
    $_trail = crumbs_build_trail($_GET['q']);
  }
  return $_trail;
}