class og_CrumbsMultiPlugin_my_groups_overview in Crumbs, the Breadcrumbs suite 7
Same name in this branch
- 7 plugins/crumbs.og.inc \og_CrumbsMultiPlugin_my_groups_overview
- 7 plugins/crumbs.og.2.inc \og_CrumbsMultiPlugin_my_groups_overview
Same name and namespace in other branches
- 7.2 plugins/crumbs.og.inc \og_CrumbsMultiPlugin_my_groups_overview
- 7.2 plugins/crumbs.og.2.inc \og_CrumbsMultiPlugin_my_groups_overview
Make $my_groups_path the parent path for group nodes where the current user is a member. The priorities can be configured per group node type.
Hierarchy
- class \og_CrumbsMultiPlugin_my_groups_overview extends \og_CrumbsMultiPlugin_groups_overview
Expanded class hierarchy of og_CrumbsMultiPlugin_my_groups_overview
File
- plugins/
crumbs.og.2.inc, line 183
View source
class og_CrumbsMultiPlugin_my_groups_overview extends og_CrumbsMultiPlugin_groups_overview {
/**
* Overridable helper method to actually find the parent path,
* once we know it is a group node.
*
* @param stdClass $group_node
* The node at this path, of which we know it is a group node.
*/
protected function getGroupsOverviewPath($group_node) {
// Check if the current user is a group member.
if (og_is_member('node', $node->nid)) {
// Use the parent implementation.
return parent::getGroupsOverviewPath($group_node);
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
og_CrumbsMultiPlugin_my_groups_overview:: |
protected | function | Overridable helper method to actually find the parent path, once we know it is a group node. |