mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
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:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user