You are here

service commerce_order.availability_manager in Commerce Core 8.2

Class

Drupal\commerce_order\AvailabilityManager

Tags

  • service_collector
2 string references to commerce_order.availability_manager
PurchasedEntityAvailableConstraintValidator::create in modules/order/src/Plugin/Validation/Constraint/PurchasedEntityAvailableConstraintValidator.php
Instantiates a new instance of this class.
PurchasedEntityConstraintValidatorTest::testAvailabilityConstraint in modules/order/tests/src/Kernel/PurchasedEntityConstraintValidatorTest.php
Tests the availability constraint.

File

modules/order/commerce_order.services.yml
modules/order/commerce_order.services.yml

View source
  1. class: Drupal\commerce_order\AvailabilityManager
  2. tags:
  3. - { name: service_collector, tag: commerce.availability_checker, call: addLegacyChecker }
  4. - { name: service_collector, tag: commerce_order.availability_checker, call: addChecker }