final class EnableNodeAggregate (View source)

deprecated please use {@see \Neos\ContentRepository\Core\Feature\SubtreeTagging\Command\UntagSubtree} 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  
 

Enable 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. Enabling publishes since then {\Neos\ContentRepository\Core\Feature\SubtreeTagging\Event\SubtreeWasUntagged}. 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 UntagSubtree
create(WorkspaceName $workspaceName, NodeAggregateId $nodeAggregateId, DimensionSpacePoint $coveredDimensionSpacePoint, NodeVariantSelectionStrategy $nodeVariantSelectionStrategy)

No description

static UntagSubtree
fromArray(array $array)

No description

Details

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

No description

Parameters

WorkspaceName $workspaceName

The content stream in which the enable operation is to be performed

NodeAggregateId $nodeAggregateId

The identifier of the node aggregate to enable

DimensionSpacePoint $coveredDimensionSpacePoint

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

NodeVariantSelectionStrategy $nodeVariantSelectionStrategy

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

Return Value

UntagSubtree

static UntagSubtree fromArray(array $array)

No description

Parameters

array $array

Return Value

UntagSubtree