Update state_machine.rst

Update of ProductReviews state machine name that is used in example. Currently not existing name (sylius_review) is used to show on how to modify existing callback with existing state machine
Should be sylius_product_review
This commit is contained in:
Jakub Czech 2024-09-18 10:58:04 +02:00 committed by GitHub
parent 627f768247
commit 3d2a0f56fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -127,7 +127,7 @@ so that it does not count the average rating but does something else - you need
# config/packages/_sylius.yaml
winzou_state_machine:
sylius_review:
sylius_product_review:
callbacks:
after:
update_price:
@ -147,7 +147,7 @@ On the example of the state machine of ProductReview, we can turn off the ``upda
# config/packages/_sylius.yaml
winzou_state_machine:
sylius_review:
sylius_product_review:
callbacks:
after:
update_price: