You are here

commerce_pricelist.routing.yml in Commerce Pricelist 8.2

Same filename and directory in other branches
  1. 8 commerce_pricelist.routing.yml

File

commerce_pricelist.routing.yml
View source
  1. entity.commerce_product_variation.add_price_form:
  2. path: '/product/{commerce_product}/variations/{commerce_product_variation}/prices/add'
  3. defaults:
  4. _entity_form: 'commerce_pricelist_item.add'
  5. entity_type_id: 'commerce_pricelist_item'
  6. _title: 'Add price'
  7. options:
  8. _admin_route: TRUE
  9. parameters:
  10. commerce_product:
  11. type: 'entity:commerce_product'
  12. commerce_product_variation:
  13. type: 'entity:commerce_product_variation'
  14. requirements:
  15. commerce_product: '\d+'
  16. commerce_product_variation: '\d+'
  17. _entity_create_access: 'commerce_pricelist_item'