You are here

protected function ChainGroupPermissionCalculator::getPersistentOutsiderCacheContexts in Group 8

Same name and namespace in other branches
  1. 2.0.x 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\Access

Code

protected function getPersistentOutsiderCacheContexts() {
  return $this
    ->getPersistentCacheContexts('OUTSIDER_CACHE_CONTEXTS');
}