final class RemoveOperation implements OperationInterface (View source)

Removes the given Node from the current context.

The operation accepts one argument that may be an Array, a FlowQuery or an Object.

!!! This is a Node specific implementation of the generic remove operation!!!

The result is an array of {\Neos\ContentRepository\Core\Projection\ContentGraph\Node} instances.

Traits

Properties

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

Methods

string
createNodeHash(Node $node)

Create a string hash containing the node-aggregateId, cr-id, workspace-name, dimensionSpacePoint-hash and visibilityConstraints-hash. To be used for ensuring uniqueness or removing nodes.

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

protected string createNodeHash(Node $node)

Create a string hash containing the node-aggregateId, cr-id, workspace-name, dimensionSpacePoint-hash and visibilityConstraints-hash. To be used for ensuring uniqueness or removing nodes.

Parameters

Node $node

Return Value

string

See also

Node::equals for comparison

bool canEvaluate(array<int, mixed> $context)

No description

Parameters

array<int, mixed> $context

Return Value

bool

void evaluate(FlowQuery $flowQuery, array $arguments)

No description

Parameters

FlowQuery $flowQuery
array $arguments

Return Value

void

static string getShortName()

No description

Return Value

string

static int getPriority()

No description

Return Value

int

static bool isFinal()

No description

Return Value

bool