From b1478b0087d99f7d9e3d114f508e0cf1d7a72ccf Mon Sep 17 00:00:00 2001 From: Piotr Szymaszek Date: Fri, 8 Jul 2022 13:09:59 +0200 Subject: [PATCH] Add recipe for fsi/files (#1407) --- fsi/files/1.5/config/packages/fsi_files.yaml | 20 ++++++++++++++++++++ fsi/files/1.5/manifest.json | 8 ++++++++ 2 files changed, 28 insertions(+) create mode 100644 fsi/files/1.5/config/packages/fsi_files.yaml create mode 100644 fsi/files/1.5/manifest.json diff --git a/fsi/files/1.5/config/packages/fsi_files.yaml b/fsi/files/1.5/config/packages/fsi_files.yaml new file mode 100644 index 00000000..7a7d3d85 --- /dev/null +++ b/fsi/files/1.5/config/packages/fsi_files.yaml @@ -0,0 +1,20 @@ +--- +fsi_files: + # if you have only a single filesystem, enter it here, otherwise provide them for each entity + default_entity_filesystem: null + url_adapters: [] + entities: [] + +# Example configuration: +# +# url_adapters: +# local_filesystem: 'adapter.service_id' +# entities: +# Tests\Entity\FileEntity: +# filesystem: 'local_filesystem' +# prefix: file_entity +# fields: +# # Full configuration +# - { name: file, prefix: file_entity_file, pathField: filePath } +# # Minimal configuration equal to { name: image, prefix: file_entity, pathField: imagePath } +# - [image] diff --git a/fsi/files/1.5/manifest.json b/fsi/files/1.5/manifest.json new file mode 100644 index 00000000..cbfc4e20 --- /dev/null +++ b/fsi/files/1.5/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "FSi\\Component\\Files\\Integration\\Symfony\\FilesBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}