abstract class GroupPermissionCalculatorBase in Group 8
Same name and namespace in other branches
- 2.0.x src/Access/GroupPermissionCalculatorBase.php \Drupal\group\Access\GroupPermissionCalculatorBase
Base class for group permission calculators.
Hierarchy
- class \Drupal\group\Access\GroupPermissionCalculatorBase implements GroupPermissionCalculatorInterface
Expanded class hierarchy of GroupPermissionCalculatorBase
File
- src/
Access/ GroupPermissionCalculatorBase.php, line 10
Namespace
Drupal\group\AccessView source
abstract class GroupPermissionCalculatorBase implements GroupPermissionCalculatorInterface {
/**
* {@inheritdoc}
*/
public function calculateAnonymousPermissions() {
return new RefinableCalculatedGroupPermissions();
}
/**
* {@inheritdoc}
*/
public function calculateOutsiderPermissions(AccountInterface $account) {
return new RefinableCalculatedGroupPermissions();
}
/**
* {@inheritdoc}
*/
public function calculateMemberPermissions(AccountInterface $account) {
return new RefinableCalculatedGroupPermissions();
}
}