Skip to content

Commit

Permalink
FEATURE: Add NodeType for Neos FormBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-K committed Mar 26, 2018
1 parent 330c159 commit be1b794
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Configuration/NodeTypes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'Wegmeister.DatabaseStorage:DatabaseStorageFinisher':
# Add the following lines in your sites package to add the databes storage finisher
# superTypes:
# 'Neos.Form.Builder:AbstractFinisher': true
# 'Neos.Form.Builder:IdentifierMixin': true
ui:
label: 'Database Storage Finisher'
icon: 'icon-database'
group: 'form.finisher'
properties:
'identifier':
validation:
'Neos.Neos/Validation/NotEmptyValidator': { }
3 changes: 3 additions & 0 deletions Configuration/Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Neos:
implementationClassName: WM\StarterKit\Finishers\DatabaseStorageFinisher
options: { }
Neos:
fusion:
autoInclude:
'Wegmeister.DatabaseStorage': true
modules:
databaseStorage:
label: 'Database storage'
Expand Down
7 changes: 7 additions & 0 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
prototype(RadKultur.Website:DatabaseStorageFinisher.Definition) < prototype(Neos.Form.Builder:Finisher.Definition) {
formElementType = 'Wegmeister.DatabaseStorage:DatabaseStorageFinisher'

options {
identifier = ${null}
}
}

0 comments on commit be1b794

Please sign in to comment.