protected function GroupContentEnablerManager::getCachedPluginGroupContentTypeMap in Group 8
Returns the cached group content type ID map.
Return value
array|null On success this will return the group content ID 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 GroupContentEnablerManager::getCachedPluginGroupContentTypeMap()
- GroupContentEnablerManager::getPluginGroupContentTypeMap in src/
Plugin/ GroupContentEnablerManager.php - Retrieves a list of group content type IDs per plugin ID.
File
- src/
Plugin/ GroupContentEnablerManager.php, line 386
Class
- GroupContentEnablerManager
- Manages GroupContentEnabler plugin implementations.
Namespace
Drupal\group\PluginCode
protected function getCachedPluginGroupContentTypeMap() {
if (!isset($this->pluginGroupContentTypeMap) && ($cache = $this
->cacheGet($this->pluginGroupContentTypeMapCacheKey))) {
$this->pluginGroupContentTypeMap = $cache->data;
}
return $this->pluginGroupContentTypeMap;
}