You are here

public function GroupPermissionCalculatorInterface::calculateOutsiderPermissions in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Access/GroupPermissionCalculatorInterface.php \Drupal\group\Access\GroupPermissionCalculatorInterface::calculateOutsiderPermissions()

Calculates the outsider group permissions for an account.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user account for which to calculate the outsider permissions.

Return value

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

2 methods override GroupPermissionCalculatorInterface::calculateOutsiderPermissions()
ChainGroupPermissionCalculator::calculateOutsiderPermissions in src/Access/ChainGroupPermissionCalculator.php
Calculates the outsider group permissions for an account.
GroupPermissionCalculatorBase::calculateOutsiderPermissions in src/Access/GroupPermissionCalculatorBase.php
Calculates the outsider group permissions for an account.

File

src/Access/GroupPermissionCalculatorInterface.php, line 65

Class

GroupPermissionCalculatorInterface
Defines the group permission calculator interface.

Namespace

Drupal\group\Access

Code

public function calculateOutsiderPermissions(AccountInterface $account);