class _og_CrumbsPlugin__groups_overview in Crumbs, the Breadcrumbs suite 6
Same name and namespace in other branches
- 6.2 plugins/crumbs.og.inc \_og_CrumbsPlugin__groups_overview
Hierarchy
Expanded class hierarchy of _og_CrumbsPlugin__groups_overview
File
- plugins/
crumbs.og.inc, line 33
View source
class _og_CrumbsPlugin__groups_overview {
function define($h) {
$types = og_get_types('group');
foreach ($types as $type) {
$h
->addRule($type);
}
}
function findParent__node__($path, $item) {
$node = $item['map'][1];
if (isset($node->og_selective)) {
return array(
$node->type => 'og',
);
}
}
}