You are here

service commerce_pricelist.price_resolver in Commerce Pricelist 8.2

Class

Drupal\commerce_pricelist\PriceListPriceResolver

Tags

  • commerce_price.price_resolver
1 string reference to commerce_pricelist.price_resolver
PriceResolverTest::testResolver in tests/src/Kernel/PriceResolverTest.php
Tests the that the correct price list is resolved based on the context.

File

./commerce_pricelist.services.yml
commerce_pricelist.services.yml

View source
  1. class: Drupal\commerce_pricelist\PriceListPriceResolver
  2. arguments:
  3. - '@commerce_pricelist.repository'
  4. tags:
  5. - { name: commerce_price.price_resolver, priority: 600 }