public function GroupTypeManager::getGroupMap in Organic groups 8
Returns the group map.
Return value
string[][] The group map.
Overrides GroupTypeManagerInterface::getGroupMap
2 calls to GroupTypeManager::getGroupMap()
- GroupTypeManager::getGroupBundleIdsByEntityType in src/
GroupTypeManager.php - Returns the group of an entity type.
- GroupTypeManager::isGroup in src/
GroupTypeManager.php - Determines whether an entity type ID and bundle ID are group enabled.
File
- src/
GroupTypeManager.php, line 342
Class
- GroupTypeManager
- A manager to keep track of which entity type/bundles are OG group enabled.
Namespace
Drupal\ogCode
public function getGroupMap() {
if (empty($this->groupMap)) {
$this
->refreshGroupMap();
}
return $this->groupMap;
}