public function ChainGroupPermissionCalculatorInterface::addCalculator in Group 8
Same name and namespace in other branches
- 2.0.x src/Access/ChainGroupPermissionCalculatorInterface.php \Drupal\group\Access\ChainGroupPermissionCalculatorInterface::addCalculator()
Adds a calculator.
Parameters
\Drupal\group\Access\GroupPermissionCalculatorInterface $calculator: The calculator.
Return value
mixed
1 method overrides ChainGroupPermissionCalculatorInterface::addCalculator()
- ChainGroupPermissionCalculator::addCalculator in src/
Access/ ChainGroupPermissionCalculator.php - Adds a calculator.
File
- src/
Access/ ChainGroupPermissionCalculatorInterface.php, line 23
Class
- ChainGroupPermissionCalculatorInterface
- Runs the added calculators one by one until the full permissions are built.
Namespace
Drupal\group\AccessCode
public function addCalculator(GroupPermissionCalculatorInterface $calculator);