You are here

protected function GroupRelationManager::setCachedPluginGroupContentTypeMap in Group 2.0.x

Sets a cache of the group content type ID map.

Parameters

array $map: The group content type ID map to store in cache.

1 call to GroupRelationManager::setCachedPluginGroupContentTypeMap()
GroupRelationManager::getPluginGroupContentTypeMap in src/Plugin/Group/Relation/GroupRelationManager.php
Retrieves a list of group content type IDs per plugin ID.

File

src/Plugin/Group/Relation/GroupRelationManager.php, line 394

Class

GroupRelationManager
Manages GroupRelation plugin implementations.

Namespace

Drupal\group\Plugin\Group\Relation

Code

protected function setCachedPluginGroupContentTypeMap(array $map) {
  $this
    ->cacheSet($this->pluginGroupContentTypeMapCacheKey, $map, Cache::PERMANENT);
  $this->pluginGroupContentTypeMap = $map;
}