You are here

function og_CrumbsMultiPlugin_groups_overview::__construct in Crumbs, the Breadcrumbs suite 7

Same name in this branch
  1. 7 plugins/crumbs.og.inc \og_CrumbsMultiPlugin_groups_overview::__construct()
  2. 7 plugins/crumbs.og.2.inc \og_CrumbsMultiPlugin_groups_overview::__construct()
Same name and namespace in other branches
  1. 7.2 plugins/crumbs.og.inc \og_CrumbsMultiPlugin_groups_overview::__construct()
  2. 7.2 plugins/crumbs.og.2.inc \og_CrumbsMultiPlugin_groups_overview::__construct()

Parameters

array|string $groups_overview_paths: Either just one parent path, or an array of parent paths per node type. E.g. array( 'city_group' => 'city-groups', 'sports_group' => 'groups/sports', ) The user is responsible to make sure that these are all group types.

File

plugins/crumbs.og.2.inc, line 118

Class

og_CrumbsMultiPlugin_groups_overview
Make $groups_overview_path the parent path for group nodes. The priorities can be configured per group node type.

Code

function __construct($groups_overview_paths) {
  $this->groupsOverviewPath = $groups_overview_paths;
}