-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add copy cloned uploadables event subscriber.
- Loading branch information
Igor Nikolaev
committed
Mar 12, 2020
1 parent
f20b488
commit 77b474d
Showing
5 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
File renamed without changes.
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,16 @@ | ||
parameters: | ||
darvin_utils.cloner.uploadable.tmp_dir: '%darvin_utils.tmp_dir%/cloner/uploadable' | ||
|
||
darvin_utils.cloner.uploadable.copy_event_subscriber.class: Darvin\Utils\EventListener\Cloner\CopyUploadablesSubscriber | ||
|
||
services: | ||
darvin_utils.cloner.uploadable.copy_event_subscriber: | ||
class: '%darvin_utils.cloner.uploadable.copy_event_subscriber.class%' | ||
arguments: | ||
- '@filesystem' | ||
- '@vich_uploader.metadata_reader' | ||
- '@property_accessor' | ||
- '@vich_uploader.storage' | ||
- '%darvin_utils.cloner.uploadable.tmp_dir%' | ||
tags: | ||
- { name: kernel.event_subscriber } |