Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (21 sloc) 733 Bytes
# "Insert content references" TS Object
prototype(Neos.NodeTypes.ContentReferences:ContentReferences) < prototype(Neos.Neos:Content) {
templatePath = 'resource://Neos.NodeTypes.ContentReferences/Private/Templates/NodeTypes/ContentReferences.html'
@context.referenceNodesArray = ${q(node).property('references')}
referenceNodes = Neos.Fusion:Collection {
collection = ${referenceNodesArray}
itemRenderer = Neos.Neos:ContentCase
itemName = 'node'
}
@cache {
mode = 'cached'
entryIdentifier {
node = ${node}
}
entryTags {
1 = ${Neos.Caching.nodeTag(node)}
2 = ${Neos.Caching.nodeTag(referenceNodesArray)}
3 = ${Neos.Caching.descendantOfTag(referenceNodesArray)}
}
}
}