mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
64 lines
2.3 KiB
JSON
64 lines
2.3 KiB
JSON
{
|
|
"manifests": {
|
|
"sylius/resource-bundle": {
|
|
"manifest": {
|
|
"container": {
|
|
"locale": "en"
|
|
},
|
|
"bundles": {
|
|
"Sylius\\Bundle\\ResourceBundle\\SyliusResourceBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/",
|
|
"src/": "%SRC_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/sylius_resource.yaml": {
|
|
"contents": [
|
|
"# @see https://stack.sylius.com/resource/index",
|
|
"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
|
|
},
|
|
"src/Entity/.gitignore": {
|
|
"contents": [
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "14f5b4ce9f7b17390563bec18170836d6d8bed78"
|
|
}
|
|
}
|
|
}
|