mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
57 lines
2.1 KiB
JSON
57 lines
2.1 KiB
JSON
{
|
|
"manifests": {
|
|
"sylius/resource-bundle": {
|
|
"manifest": {
|
|
"container": {
|
|
"locale": "en"
|
|
},
|
|
"bundles": {
|
|
"Sylius\\Bundle\\ResourceBundle\\SyliusResourceBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/sylius_resource.yaml": {
|
|
"contents": [
|
|
"# @see https://github.com/Sylius/SyliusResourceBundle/blob/master/docs/index.md",
|
|
"sylius_resource:",
|
|
" # Override default settings",
|
|
" #settings:",
|
|
"",
|
|
" # Configure the mapping for your resources",
|
|
" mapping:",
|
|
" paths:",
|
|
" - '%kernel.project_dir%/src/Entity'",
|
|
"",
|
|
" # Configure your resources",
|
|
" resources:",
|
|
" #app.book:",
|
|
" #classes:",
|
|
" #model: App\\Entity\\Book",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/sylius_resource.yaml": {
|
|
"contents": [
|
|
"sylius_crud_routes:",
|
|
" resource: 'sylius.routing.loader.crud_routes_attributes'",
|
|
" type: service",
|
|
"",
|
|
"sylius_routes:",
|
|
" resource: 'sylius.routing.loader.routes_attributes'",
|
|
" type: service",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "ee21c1fc90778f4b01c20e72c320cc34f8839c1e"
|
|
}
|
|
}
|
|
}
|