You are here

protected function GroupContentEnablerManager::setCachedGroupTypePluginMap in Group 8

Sets a cache of the group type plugin map.

Parameters

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

1 call to GroupContentEnablerManager::setCachedGroupTypePluginMap()
GroupContentEnablerManager::getGroupTypePluginMap in src/Plugin/GroupContentEnablerManager.php
Retrieves a list of plugin IDs per group type ID.

File

src/Plugin/GroupContentEnablerManager.php, line 446

Class

GroupContentEnablerManager
Manages GroupContentEnabler plugin implementations.

Namespace

Drupal\group\Plugin

Code

protected function setCachedGroupTypePluginMap(array $map) {
  $this
    ->cacheSet($this->groupTypePluginMapCacheKey, $map, Cache::PERMANENT);
  $this->groupTypePluginMap = $map;
}