You are here

protected function GroupContentEnablerManager::setCachedPluginGroupContentTypeMap in Group 8

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 GroupContentEnablerManager::setCachedPluginGroupContentTypeMap()
GroupContentEnablerManager::getPluginGroupContentTypeMap in src/Plugin/GroupContentEnablerManager.php
Retrieves a list of group content type IDs per plugin ID.

File

src/Plugin/GroupContentEnablerManager.php, line 399

Class

GroupContentEnablerManager
Manages GroupContentEnabler plugin implementations.

Namespace

Drupal\group\Plugin

Code

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