You are here

public function ChainGroupPermissionCalculator::getCalculators in Group 2.0.x

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

Gets all added calculators.

Return value

\Drupal\group\Access\GroupPermissionCalculatorInterface[] The calculators.

Overrides ChainGroupPermissionCalculatorInterface::getCalculators

2 calls to ChainGroupPermissionCalculator::getCalculators()
ChainGroupPermissionCalculator::doCacheableCalculation in src/Access/ChainGroupPermissionCalculator.php
Performs the calculation of permissions with caching support.
ChainGroupPermissionCalculator::getPersistentCacheContexts in src/Access/ChainGroupPermissionCalculator.php
Performs the retrieval of persistent cache contexts.

File

src/Access/ChainGroupPermissionCalculator.php, line 80

Class

ChainGroupPermissionCalculator
Collects group permissions for an account.

Namespace

Drupal\group\Access

Code

public function getCalculators() {
  return $this->calculators;
}