You are here

public function GroupPermissionCalculatorInterface::calculateMemberPermissions in Group 8

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

Calculates the member group permissions for an account.

Parameters

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

Return value

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

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

File

src/Access/GroupPermissionCalculatorInterface.php, line 76

Class

GroupPermissionCalculatorInterface
Defines the group permission calculator interface.

Namespace

Drupal\group\Access

Code

public function calculateMemberPermissions(AccountInterface $account);