You are here

function path_CrumbsMonoPlugin::findParent in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 7.2 plugins/crumbs.path.inc \path_CrumbsMonoPlugin::findParent()

File

plugins/crumbs.path.inc, line 27

Class

path_CrumbsMonoPlugin
Implementation of class hook class_CrumbsParentFinder on the behalf of path module.

Code

function findParent($path, $item) {
  if ($alias = $item['alias']) {
    return crumbs_reduce_path($alias, 1);
  }
}