public function AvailabilityManagerInterface::addChecker in Commerce Core 8.2
Same name in this branch
- 8.2 src/AvailabilityManagerInterface.php \Drupal\commerce\AvailabilityManagerInterface::addChecker()
- 8.2 modules/order/src/AvailabilityManagerInterface.php \Drupal\commerce_order\AvailabilityManagerInterface::addChecker()
Adds a checker.
Parameters
\Drupal\commerce\AvailabilityCheckerInterface $checker: The checker.
1 method overrides AvailabilityManagerInterface::addChecker()
- AvailabilityManager::addChecker in src/
AvailabilityManager.php - Adds a checker.
File
- src/
AvailabilityManagerInterface.php, line 23
Class
- AvailabilityManagerInterface
- Runs the added checkers to determine the availability of a purchasable entity.
Namespace
Drupal\commerceCode
public function addChecker(AvailabilityCheckerInterface $checker);