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_order\AvailabilityCheckerInterface $checker: The checker.
1 method overrides AvailabilityManagerInterface::addChecker()
- AvailabilityManager::addChecker in modules/
order/ src/ AvailabilityManager.php - Adds a checker.
File
- modules/
order/ src/ AvailabilityManagerInterface.php, line 29
Class
- AvailabilityManagerInterface
- Runs the added checkers to determine the availability of an order item.
Namespace
Drupal\commerce_orderCode
public function addChecker(AvailabilityCheckerInterface $checker);