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