You are here

class _path_CrumbsPlugin in Crumbs, the Breadcrumbs suite 6.2

Same name and namespace in other branches
  1. 6 plugins/crumbs.path.inc \_path_CrumbsPlugin

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

Hierarchy

Expanded class hierarchy of _path_CrumbsPlugin

File

plugins/crumbs.path.inc, line 15

View source
class _path_CrumbsPlugin {
  function defineOne($h) {
    $h
      ->setTitle(t('existing alias for the given path'));
  }
  function disabledByDefault() {
    return array(
      '',
    );
  }
  function findParent($path, $item) {
    if ($alias = $item['alias']) {
      return crumbs_reduce_path($alias, 1);
    }
  }

}

Members