Add new recipe for sylius/paypal-plugin:1.7 (#1746)

* [Sylius][PayPal] Add sylius_shop_override_routing to sylius_shop routing configuration

* [Sylius][PayPal] Add additional options to sylius_shop_override_paypal

* [Sylius][PayPal] Add new line
This commit is contained in:
Karol
2025-01-27 13:06:02 +00:00
committed by GitHub
parent c0a8636f68
commit a025b8db99
+9 -1
View File
@@ -4,5 +4,13 @@
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"add-lines": [
{
"file": "config/routes/sylius_shop.yaml",
"position": "bottom",
"warn_if_missing": true,
"content": "sylius_shop_override_paypal:\n resource: \"@SyliusPayPalPlugin/Resources/config/sylius_shop_override_routing.yaml\"\n prefix: /{_locale}\n requirements:\n _locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$\n"
}
]
}