protected function ChainGroupPermissionCalculator::getPersistentMemberCacheContexts in Group 2.0.x
Same name and namespace in other branches
- 8 src/Access/ChainGroupPermissionCalculator.php \Drupal\group\Access\ChainGroupPermissionCalculator::getPersistentMemberCacheContexts()
Gets the cache contexts that always apply to the member permissions.
Return value
string[]
1 call to ChainGroupPermissionCalculator::getPersistentMemberCacheContexts()
- ChainGroupPermissionCalculator::calculateMemberPermissions in src/
Access/ ChainGroupPermissionCalculator.php - Calculates the member group permissions for an account.
File
- src/
Access/ ChainGroupPermissionCalculator.php, line 262
Class
- ChainGroupPermissionCalculator
- Collects group permissions for an account.
Namespace
Drupal\group\AccessCode
protected function getPersistentMemberCacheContexts() {
return $this
->getPersistentCacheContexts('MEMBER_CACHE_CONTEXTS');
}