protected function GroupRelationManager::getCachedPluginGroupContentTypeMap in Group 2.0.x
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 GroupRelationManager::getCachedPluginGroupContentTypeMap()
- 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 381
Class
- GroupRelationManager
- Manages GroupRelation plugin implementations.
Namespace
Drupal\group\Plugin\Group\RelationCode
protected function getCachedPluginGroupContentTypeMap() {
if (!isset($this->pluginGroupContentTypeMap) && ($cache = $this
->cacheGet($this->pluginGroupContentTypeMapCacheKey))) {
$this->pluginGroupContentTypeMap = $cache->data;
}
return $this->pluginGroupContentTypeMap;
}