class NodeTypesCommandController extends CommandController (View source)

Properties

protected $nodeTypeManager

Methods

void
showCommand(string $nodeTypeName, string $path = '', int $level = 0)

Shows the merged configuration (including supertypes) of a NodeType

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

Lists all declared NodeTypes grouped by namespace

Details

void showCommand(string $nodeTypeName, string $path = '', int $level = 0)

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 $level

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

Return Value

void

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

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

Return Value

void