ReferencesOperation
final class ReferencesOperation implements OperationInterface (View source)
"references" operation working on Nodes
This operation can be used to find outgoing references for a given node:
${q(node).references().get()}
The result is an array of {\Neos\ContentRepository\NodeAccess\FlowQueryOperations\Reference} instances.
To render the reference name of the first match:
$q{node).references().get(0).name}
The {\Neos\ContentRepository\NodeAccess\FlowQueryOperations\ReferencePropertyOperation} can be used to access any property on the reference relation:
${q(node).references("someReferenceName").property("somePropertyName")} Properties
| static protected string | $shortName | {@inheritdoc} | |
| static protected int | $priority | {@inheritdoc} | |
| protected ContentRepositoryRegistry | $contentRepositoryRegistry |
Methods
bool
canEvaluate(array<int, mixed> $context)
No description
void
evaluate(FlowQuery $flowQuery, array $arguments)
No description
static string
getShortName()
No description
static int
getPriority()
No description
static bool
isFinal()
No description
Details
bool
canEvaluate(array<int, mixed> $context)
No description
void
evaluate(FlowQuery $flowQuery, array $arguments)
No description
static string
getShortName()
No description
static int
getPriority()
No description
static bool
isFinal()
No description