PrevOperation
class PrevOperation extends AbstractOperation (View source)
"prev" operation working on ContentRepository nodes. It iterates over all context elements and returns the immediately preceding sibling.
If an optional filter expression is provided, it only returns the node if it matches the given expression.
Properties
static protected string | $shortName | {@inheritdoc} |
|
static protected int | $priority | {@inheritdoc} |
|
protected ContentRepositoryRegistry | $contentRepositoryRegistry |
Methods
bool
canEvaluate(array<int,mixed> $context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
Node|null
getPrevForNode(Node $contextNode)
No description
Details
bool
canEvaluate(array<int,mixed> $context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
protected Node|null
getPrevForNode(Node $contextNode)
No description