You are here

public function GroupPermissionCalculatorBase::calculateAnonymousPermissions in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Access/GroupPermissionCalculatorBase.php \Drupal\group\Access\GroupPermissionCalculatorBase::calculateAnonymousPermissions()

Calculates the anonymous group permissions.

Return value

\Drupal\group\Access\CalculatedGroupPermissionsInterface An object representing the anonymous group permissions.

Overrides GroupPermissionCalculatorInterface::calculateAnonymousPermissions

1 method overrides GroupPermissionCalculatorBase::calculateAnonymousPermissions()
DefaultGroupPermissionCalculator::calculateAnonymousPermissions in src/Access/DefaultGroupPermissionCalculator.php
Calculates the anonymous group permissions.

File

src/Access/GroupPermissionCalculatorBase.php, line 15

Class

GroupPermissionCalculatorBase
Base class for group permission calculators.

Namespace

Drupal\group\Access

Code

public function calculateAnonymousPermissions() {
  return new RefinableCalculatedGroupPermissions();
}