Skip to content

Commit a025b8d

Browse files
authored
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
1 parent c0a8636 commit a025b8d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sylius/paypal-plugin/1.7/manifest.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,13 @@
44
},
55
"copy-from-recipe": {
66
"config/": "%CONFIG_DIR%/"
7-
}
7+
},
8+
"add-lines": [
9+
{
10+
"file": "config/routes/sylius_shop.yaml",
11+
"position": "bottom",
12+
"warn_if_missing": true,
13+
"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"
14+
}
15+
]
816
}

0 commit comments

Comments
 (0)