You are here

function _og_CrumbsPlugin__my_groups_overview::findParent__node_x in Crumbs, the Breadcrumbs suite 6.2

File

plugins/crumbs.og.inc, line 60

Class

_og_CrumbsPlugin__my_groups_overview

Code

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