protected function GroupRelationManager::getCachedGroupTypePluginMap in Group 2.0.x
Returns the cached group type plugin map.
Return value
array|null On success this will return the group type plugin map (array). On failure this should return NULL, indicating to other methods that this has not yet been defined. Success with no values should return as an empty array.
1 call to GroupRelationManager::getCachedGroupTypePluginMap()
- GroupRelationManager::getGroupTypePluginMap in src/
Plugin/ Group/ Relation/ GroupRelationManager.php - Retrieves a list of plugin IDs per group type ID.
File
- src/
Plugin/ Group/ Relation/ GroupRelationManager.php, line 428
Class
- GroupRelationManager
- Manages GroupRelation plugin implementations.
Namespace
Drupal\group\Plugin\Group\RelationCode
protected function getCachedGroupTypePluginMap() {
if (!isset($this->groupTypePluginMap) && ($cache = $this
->cacheGet($this->groupTypePluginMapCacheKey))) {
$this->groupTypePluginMap = $cache->data;
}
return $this->groupTypePluginMap;
}