class NodeTypesCommandController extends CommandController (View source)

Methods

__construct(ContentRepositoryRegistry $contentRepositoryRegistry)

No description

void
showCommand(string $nodeTypeName, string $path = '', int $depth = 0, string $contentRepository = 'default')

Shows the merged configuration (including supertypes) of a NodeType

void
listCommand(string|null $filter = null, bool $includeAbstract = true, string $contentRepository = 'default')

Lists all declared NodeTypes grouped by namespace

Details

__construct(ContentRepositoryRegistry $contentRepositoryRegistry)

No description

Parameters

ContentRepositoryRegistry $contentRepositoryRegistry

void showCommand(string $nodeTypeName, string $path = '', int $depth = 0, string $contentRepository = 'default')

Shows the merged configuration (including supertypes) of a NodeType

Parameters

string $nodeTypeName

The name of the NodeType to show

string $path

Path of the NodeType-configuration which will be shown

int $depth

Truncate the configuration at this depth and show '...' (Usefully for only seeing the keys of the properties)

string $contentRepository

Identifier of the Content Repository to determine the set of NodeTypes

Return Value

void

void listCommand(string|null $filter = null, bool $includeAbstract = true, string $contentRepository = 'default')

Lists all declared NodeTypes grouped by namespace

Parameters

string|null $filter

Only NodeType-names containing this string will be listed

bool $includeAbstract

List abstract NodeTypes

string $contentRepository

Identifier of the Content Repository to determine the set of NodeTypes

Return Value

void