Add global config import

This commit is contained in:
Francis Hilaire
2021-04-12 01:31:15 +02:00
parent a8e030d0cb
commit e7400c36c4
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
imports:
- { resource: "@FluxSESyliusPayumStripePlugin/Resources/config/config.yaml" }
flux_se_sylius_payum_stripe:
line_item_image:
# This is the imagine filter use to get the image displayed on Stripe Checkout Session
# (default: the filter uses into `@ShopBundle/Product/Show/_images.html.twig`)
imagine_filter: 'sylius_shop_product_original'
# Fallback image used when no image is set on a product and also when you test this plugin
# from a private web server (ex: from localhost)
fallback_image: 'https://placehold.it/400x300'

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"FluxSE\\SyliusPayumStripePlugin\\FluxSESyliusPayumStripePlugin": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}