diff --git a/sylius/resource-bundle/1.9/config/packages/sylius_resource.yaml b/sylius/resource-bundle/1.9/config/packages/sylius_resource.yaml new file mode 100644 index 00000000..6b42a484 --- /dev/null +++ b/sylius/resource-bundle/1.9/config/packages/sylius_resource.yaml @@ -0,0 +1,15 @@ +# @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 diff --git a/sylius/resource-bundle/1.9/config/routes/sylius_resource.yaml b/sylius/resource-bundle/1.9/config/routes/sylius_resource.yaml new file mode 100644 index 00000000..0c8ade2c --- /dev/null +++ b/sylius/resource-bundle/1.9/config/routes/sylius_resource.yaml @@ -0,0 +1,7 @@ +sylius_crud_routes: + resource: 'sylius.routing.loader.crud_routes_attributes' + type: service + +sylius_routes: + resource: 'sylius.routing.loader.routes_attributes' + type: service diff --git a/sylius/resource-bundle/1.9/manifest.json b/sylius/resource-bundle/1.9/manifest.json new file mode 100644 index 00000000..a26e89c8 --- /dev/null +++ b/sylius/resource-bundle/1.9/manifest.json @@ -0,0 +1,11 @@ +{ + "container": { + "locale": "en" + }, + "bundles": { + "Sylius\\Bundle\\ResourceBundle\\SyliusResourceBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}