protected function GroupRelationManager::setCachedGroupTypePluginMap in Group 2.0.x
Sets a cache of the group type plugin map.
Parameters
array $map: The group type plugin map to store in cache.
1 call to GroupRelationManager::setCachedGroupTypePluginMap()
- 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 441
Class
- GroupRelationManager
- Manages GroupRelation plugin implementations.
Namespace
Drupal\group\Plugin\Group\RelationCode
protected function setCachedGroupTypePluginMap(array $map) {
$this
->cacheSet($this->groupTypePluginMapCacheKey, $map, Cache::PERMANENT);
$this->groupTypePluginMap = $map;
}