final class StructureAdjustmentsCommandController extends CommandController (View source)

Properties

protected ContentRepositoryRegistry $contentRepositoryRegistry

Methods

void
detectCommand(string|null $nodeType = null, string $contentRepository = 'default')

Detect required structure adjustments for the specified node type in the given content repository.

void
fixCommand(string|null $nodeType = null, string $contentRepository = 'default')

Apply required structure adjustments for the specified node type in the given content repository.

Details

void detectCommand(string|null $nodeType = null, string $contentRepository = 'default')

Detect required structure adjustments for the specified node type in the given content repository.

Parameters

string|null $nodeType

The node type to find structure adjustments for. If not provided, all adjustments will be shown. (Default: null)

string $contentRepository

Identifier of the content repository. (Default: 'default')

Return Value

void

void fixCommand(string|null $nodeType = null, string $contentRepository = 'default')

Apply required structure adjustments for the specified node type in the given content repository.

Parameters

string|null $nodeType

The node type to apply structure adjustments for. If not provided, all found adjustments will be applied. (Default: null)

string $contentRepository

Identifier of the content repository. (Default: 'default')

Return Value

void