-
-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recipe for Sylius Media Manager plugin (#1535)
- Loading branch information
1 parent
1a927a4
commit 970ed1e
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...biz/sylius-media-manager-plugin/1.0/config/packages/monsieurbiz_media_manager_plugin.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
imports: | ||
- { resource: "@MonsieurBizSyliusMediaManagerPlugin/Resources/config/config.yaml" } | ||
|
||
liip_imagine: | ||
loaders: | ||
default: | ||
filesystem: | ||
data_root: | ||
- "%sylius_core.public_dir%/media/image" | ||
- "%sylius_core.public_dir%/media" # Add media folder | ||
twig: | ||
form_themes: ['@MonsieurBizSyliusMediaManagerPlugin/Admin/MediaManager/Form/_theme.html.twig'] |
2 changes: 2 additions & 0 deletions
2
...urbiz/sylius-media-manager-plugin/1.0/config/routes/monsieurbiz_media_manager_plugin.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
monsieurbiz_sylius_media_manager_admin: | ||
resource: "@MonsieurBizSyliusMediaManagerPlugin/Resources/config/routes.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"bundles": { | ||
"MonsieurBiz\\SyliusMediaManagerPlugin\\MonsieurBizSyliusMediaManagerPlugin": [ | ||
"all" | ||
] | ||
}, | ||
"copy-from-recipe": { | ||
"config/": "%CONFIG_DIR%/" | ||
}, | ||
"env": { | ||
"MONSIEURBIZ_SYLIUS_MEDIA_MANAGER_PUBLIC_FOLDER": "%kernel.project_dir%/public", | ||
"MONSIEURBIZ_SYLIUS_MEDIA_MANAGER_ROOT_FOLDER_FROM_PUBLIC": "media", | ||
"MONSIEURBIZ_SYLIUS_MEDIA_MANAGER_MAX_FILE_SIZE": "5M" | ||
} | ||
} |