Skip to content

Commit

Permalink
chore: Neos 9 Beta14 - fixes and adaptions after refactoring and depr…
Browse files Browse the repository at this point in the history
…ecations.
  • Loading branch information
samsauter committed Oct 28, 2024
1 parent 03c5c11 commit 1c05576
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Fusion/NodeBased/NodeBasedFinisher.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ prototype(Neos.Form.Builder:NodeBasedFinisherCollection) < prototype(Neos.Fusion
itemName = 'finisherNode'
itemRenderer = Neos.Fusion:Case {
formElementTypeFromNodeType {
condition = ${!Neos.Node.getNodeType(finisherNode).options.form.formElementType}
condition = ${!Neos.Node.nodeType(finisherNode).options.form.formElementType}
renderer = Neos.Form.Builder:NodeBasedFinisher {
type = ${finisherNode.nodeTypeName.value + '.Definition'}
}
Expand All @@ -19,7 +19,7 @@ prototype(Neos.Form.Builder:NodeBasedFinisherCollection) < prototype(Neos.Fusion
condition = ${true}
renderer = Neos.Form.Builder:NodeBasedFinisher {
type = 'Neos.Form.Builder:Finisher.Definition'
element.formElementType = ${Neos.Node.getNodeType(finisherNode).options.form.formElementType}
element.formElementType = ${Neos.Node.nodeType(finisherNode).options.form.formElementType}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ prototype(Neos.Form.Builder:NodeBasedElementCollection) < prototype(Neos.Fusion:
itemName = 'elementNode'
itemRenderer = Neos.Fusion:Case {
formElementTypeFromNodeType {
condition = ${!Neos.Node.getNodeType(elementNode).options.form.formElementType}
condition = ${!Neos.Node.nodeType(elementNode).options.form.formElementType}
renderer = Neos.Form.Builder:NodeBasedFormElement {
type = ${elementNode.nodeTypeName.value + '.Definition'}
}
Expand All @@ -39,7 +39,7 @@ prototype(Neos.Form.Builder:NodeBasedElementCollection) < prototype(Neos.Fusion:
condition = ${true}
renderer = Neos.Form.Builder:NodeBasedFormElement {
type = 'Neos.Form.Builder:FormElement.Definition'
element.formElementType = ${Neos.Node.getNodeType(elementNode).options.form.formElementType}
element.formElementType = ${Neos.Node.nodeType(elementNode).options.form.formElementType}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Fusion/NodeBased/NodeBasedFormPage.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ prototype(Neos.Form.Builder:NodeBasedPageCollection) < prototype(Neos.Fusion:Loo
itemName = 'pageNode'
itemRenderer = Neos.Fusion:Case {
formElementTypeFromNodeType {
condition = ${!Neos.Node.getNodeType(pageNode).options.form.formElementType}
condition = ${!Neos.Node.nodeType(pageNode).options.form.formElementType}
renderer = Neos.Form.Builder:NodeBasedFormPage {
type = ${pageNode.nodeTypeName.value + '.Definition'}
}
Expand All @@ -26,7 +26,7 @@ prototype(Neos.Form.Builder:NodeBasedPageCollection) < prototype(Neos.Fusion:Loo
condition = ${true}
renderer = Neos.Form.Builder:NodeBasedFormPage {
type = 'Neos.Form.Builder:FormPage.Definition'
element.formElementType = ${Neos.Node.getNodeType(pageNode).options.form.formElementType}
element.formElementType = ${Neos.Node.nodeType(pageNode).options.form.formElementType}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Fusion/NodeBased/NodeBasedValidator.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ prototype(Neos.Form.Builder:NodeBasedValidatorCollection) < prototype(Neos.Fusio
itemName = 'validatorNode'
itemRenderer = Neos.Fusion:Case {
formElementTypeFromNodeType {
condition = ${!Neos.Node.getNodeType(validatorNode).options.form.formElementType}
condition = ${!Neos.Node.nodeType(validatorNode).options.form.formElementType}
renderer = Neos.Form.Builder:NodeBasedValidator {
type = ${validatorNode.nodeTypeName.value + '.Definition'}
}
Expand All @@ -19,7 +19,7 @@ prototype(Neos.Form.Builder:NodeBasedValidatorCollection) < prototype(Neos.Fusio
condition = ${true}
renderer = Neos.Form.Builder:NodeBasedValidator {
type = 'Neos.Form.Builder:Validator.Definition'
element.formElementType = ${Neos.Node.getNodeType(validatorNode).options.form.formElementType}
element.formElementType = ${Neos.Node.nodeType(validatorNode).options.form.formElementType}
}
}
}
Expand Down

0 comments on commit 1c05576

Please sign in to comment.