You are here

protected function GroupTypeManager::getGroupRelationMap in Organic groups 8

Returns the group relation map.

Return value

array The group relation map.

2 calls to GroupTypeManager::getGroupRelationMap()
GroupTypeManager::getAllGroupContentBundleIds in src/GroupTypeManager.php
Returns a list of all group content bundles IDs keyed by entity type.
GroupTypeManager::getGroupContentBundleIdsByGroupBundle in src/GroupTypeManager.php
Returns group content bundles that are referencing the given group content.

File

src/GroupTypeManager.php, line 355

Class

GroupTypeManager
A manager to keep track of which entity type/bundles are OG group enabled.

Namespace

Drupal\og

Code

protected function getGroupRelationMap() {
  if (empty($this->groupRelationMap)) {
    $this
      ->populateGroupRelationMap();
  }
  return $this->groupRelationMap;
}