You are here

constant GroupPermissionCalculatorInterface::ANONYMOUS_CACHE_CONTEXTS in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Access/GroupPermissionCalculatorInterface.php \Drupal\group\Access\GroupPermissionCalculatorInterface::ANONYMOUS_CACHE_CONTEXTS

The cache contexts that should always be present on anonymous permissions.

Override this in your implementation if you need to set any cache contexts.

File

src/Access/GroupPermissionCalculatorInterface.php, line 32

Class

GroupPermissionCalculatorInterface
Defines the group permission calculator interface.

Namespace

Drupal\group\Access

Code

const ANONYMOUS_CACHE_CONTEXTS = [];