class ParentsOperation extends AbstractOperation (View source)

"parents" operation working on ContentRepository nodes. It iterates over all context elements and returns the parent nodes or only those matching the filter expression specified as optional argument.

Properties

static protected string $shortName {@inheritdoc}
static protected int $priority {@inheritdoc}

Methods

bool
canEvaluate($context)

{@inheritdoc}

void
evaluate(FlowQuery $flowQuery, array $arguments)

{@inheritdoc}

Details

bool canEvaluate($context)

{@inheritdoc}

Parameters

$context

Return Value

bool

true if the operation can be applied onto the $context, false otherwise

void evaluate(FlowQuery $flowQuery, array $arguments)

{@inheritdoc}

Compare to node type Neos.Neos:Site instead of path once it is available

Parameters

FlowQuery $flowQuery

the FlowQuery object

array $arguments

the arguments for this operation

Return Value

void