You are here

function _og_CrumbsPlugin__my_groups_overview::findParent__node__ in Crumbs, the Breadcrumbs suite 6

File

plugins/crumbs.og.inc, line 60

Class

_og_CrumbsPlugin__my_groups_overview

Code

function findParent__node__($path, $item) {
  $node = $item['map'][1];
  if (isset($node->og_selective)) {
    if (isset($GLOBALS['user']->og_groups[$node->nid])) {
      return array(
        $node->type => 'og/my',
      );
    }
  }
}