Details
-
Task
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Docu Sprint 74, Docu Sprint 75, Docu Sprint 76
-
2
Description
The Definition decoration docu page is partially incomplete or not 100% clearly understandable (imho) ... and yes, I know, I have written the original version, hence my fault.
Tasks
Explain, how a decorator file is
- merging the original with the decorator
- completely overridding (parts of) the original by using the !override tag
Example(s)
override:
datasource: !override
class: info.magnolia.ui.datasource.jcr.JcrDatasourceDefinition
workspace: contacts
includeProperties: true
previewDefinition:
nodeName: photo
allowedNodeTypes:
- mgnl:contact
- mgnl:folder
- mgnl:content
- mgnl:contentNode
merge:
datasource: !override class: info.magnolia.ui.datasource.jcr.JcrDatasourceDefinition allowedNodeTypes: - mgnl:contentNode
Checklists
Acceptance criteria