diff --git a/Classes/NodeType/ResourceCollectionsPostprocessor.php b/Classes/NodeType/ResourceCollectionsPostprocessor.php
new file mode 100644
index 0000000..f91b82d
--- /dev/null
+++ b/Classes/NodeType/ResourceCollectionsPostprocessor.php
@@ -0,0 +1,31 @@
+resourceCollectionSettings as $collectionName => $_) {
+ $resourceCollectionOptions[] = [
+ 'value' => $collectionName,
+ 'label' => $collectionName,
+ ];
+ }
+ $configuration['properties']['resourceCollection']['ui']['inspector']['editorOptions']['values'] = $resourceCollectionOptions;
+ }
+}
diff --git a/Configuration/NodeTypes.Finishers.Email.yaml b/Configuration/NodeTypes.Finishers.Email.yaml
index 062397b..6495ac5 100644
--- a/Configuration/NodeTypes.Finishers.Email.yaml
+++ b/Configuration/NodeTypes.Finishers.Email.yaml
@@ -104,6 +104,9 @@
'plaintext':
label: i18n
icon: 'icon-font'
+ 'multipart':
+ label: i18n
+ icon: 'icon-puzzle-piece'
'attachAllPersistentResources':
type: boolean
ui:
diff --git a/Configuration/NodeTypes.FormElements.FileUpload.yaml b/Configuration/NodeTypes.FormElements.FileUpload.yaml
index e72ddb0..40bee68 100644
--- a/Configuration/NodeTypes.FormElements.FileUpload.yaml
+++ b/Configuration/NodeTypes.FormElements.FileUpload.yaml
@@ -2,6 +2,9 @@
superTypes:
'Neos.Form.Builder:FormElement': true
'Neos.Form.Builder:DefaultValueMixin': false
+ postprocessors:
+ 'Neos.Form.Builder:ResourceCollectionsPostprocessor':
+ postprocessor: 'Neos\Form\Builder\NodeType\ResourceCollectionsPostprocessor'
ui:
label: 'File upload'
icon: 'icon-upload'
@@ -42,3 +45,10 @@
'csv':
label: '.csv'
icon: 'icon-file-text'
+ 'resourceCollection':
+ type: string
+ ui:
+ label: i18n
+ inspector:
+ group: 'formElement'
+ editor: 'Neos.Neos/Inspector/Editors/SelectBoxEditor'
diff --git a/Resources/Private/Translations/da/NodeTypes/EmailFinisher.xlf b/Resources/Private/Translations/da/NodeTypes/EmailFinisher.xlf
index 989a9ce..0cd8f46 100644
--- a/Resources/Private/Translations/da/NodeTypes/EmailFinisher.xlf
+++ b/Resources/Private/Translations/da/NodeTypes/EmailFinisher.xlf
@@ -58,6 +58,10 @@
Klar tekst
+
+
+ Multipart
+
Vedhæft alle uploadede filer
diff --git a/Resources/Private/Translations/de/NodeTypes/EmailFinisher.xlf b/Resources/Private/Translations/de/NodeTypes/EmailFinisher.xlf
index 97b33ef..ccd83f2 100644
--- a/Resources/Private/Translations/de/NodeTypes/EmailFinisher.xlf
+++ b/Resources/Private/Translations/de/NodeTypes/EmailFinisher.xlf
@@ -44,6 +44,9 @@
Klartext
+
+
+ Multipart
Alle hochgeladene Dateien anhängen
diff --git a/Resources/Private/Translations/de/NodeTypes/FileUpload.xlf b/Resources/Private/Translations/de/NodeTypes/FileUpload.xlf
index b475bf5..b78efe3 100644
--- a/Resources/Private/Translations/de/NodeTypes/FileUpload.xlf
+++ b/Resources/Private/Translations/de/NodeTypes/FileUpload.xlf
@@ -5,6 +5,9 @@
Erlaubte Dateitypen
+
+
+ Ziel "Resource Collection"