Skip to content

Commit

Permalink
Merge pull request #2105 from mstruebing/adaptAdjustedNodetypesFromUi
Browse files Browse the repository at this point in the history
TASK: Adapt adjusted NodeTypes from UI-package
  • Loading branch information
mstruebing committed Jun 28, 2018
2 parents f46b0db + 0ca51ff commit 761666a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Configuration/NodeTypes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,12 @@
options:
fusion:
prototypeGenerator: ~
nodeCreationHandlers:
documentTitle:
nodeCreationHandler: 'Neos\Neos\Ui\NodeCreationHandler\DocumentTitleNodeCreationHandler'
ui:
label: 'Document'
group: 'general'
search:
searchCategory: 'Documents'
inspector:
Expand All @@ -142,6 +146,15 @@
label: i18n
position: 10
icon: 'icon-file'
creationDialog:
elements:
title:
type: string
ui:
label: i18n
editor: 'Neos.Neos/Inspector/Editors/TextFieldEditor'
validation:
'Neos.Neos/Validation/NotEmptyValidator': []
properties:
_nodeType:
ui:
Expand Down Expand Up @@ -328,6 +341,7 @@
ui:
label: i18n
icon: 'icon-folder-open-alt'
inlineEditable: true
constraints:
nodeTypes:
'Neos.Neos:Document': FALSE
Expand Down

0 comments on commit 761666a

Please sign in to comment.