final class DisableNodeAggregate (View source)

deprecated please use {@see \Neos\ContentRepository\Core\Feature\SubtreeTagging\Command\TagSubtree} instead and specify as {@see \Neos\ContentRepository\Core\Feature\SubtreeTagging\Dto\SubtreeTag} "disabled", in neos via {@see \Neos\Neos\Domain\SubtreeTagging\NeosSubtreeTag::disabled()}. To be removed with Neos 10.

internal  
 

Disable the given node aggregate in the given content stream in a dimension space point using a given strategy

With Neos 9 Beta 8 the generic concept of subtree tags was introduced. Disabling publishes since then {\Neos\ContentRepository\Core\Feature\SubtreeTagging\Event\SubtreeWasTagged}. The duplicated command implementation was removed with Neos 9 Beta 19 and its now discouraged to use these legacy commands which now translate fully to their subtree counterparts.

Methods

static TagSubtree
create(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId, DimensionSpacePoint $coveredDimensionSpacePoint, NodeVariantSelectionStrategy $nodeVariantSelectionStrategy)

No description

static TagSubtree
fromArray(array $array)

No description

Details

static TagSubtree create(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId, DimensionSpacePoint $coveredDimensionSpacePoint, NodeVariantSelectionStrategy $nodeVariantSelectionStrategy)

No description

Parameters

WorkspaceName $workspaceName

The workspace in which the disable operation is to be performed

NodeAggregateId $nodeAggregateId

The identifier of the node aggregate to disable

DimensionSpacePoint $coveredDimensionSpacePoint

The covered dimension space point of the node aggregate in which the user intends to disable it

NodeVariantSelectionStrategy $nodeVariantSelectionStrategy

The strategy the user chose to determine which specialization variants will also be disabled

Return Value

TagSubtree

static TagSubtree fromArray(array $array)

No description

Parameters

array $array

Return Value

TagSubtree