You are here

public function AvailabilityManagerInterface::addLegacyChecker in Commerce Core 8.2

Adds a "legacy" (i.e "deprecated") checker.

Parameters

\Drupal\commerce\AvailabilityCheckerInterface $checker: The "legacy" (i.e "deprecated") checker.

1 method overrides AvailabilityManagerInterface::addLegacyChecker()
AvailabilityManager::addLegacyChecker in modules/order/src/AvailabilityManager.php
Adds a "legacy" (i.e "deprecated") checker.

File

modules/order/src/AvailabilityManagerInterface.php, line 37

Class

AvailabilityManagerInterface
Runs the added checkers to determine the availability of an order item.

Namespace

Drupal\commerce_order

Code

public function addLegacyChecker(LegacyCheckerInterface $checker);