class CreationDialogPostprocessor implements NodeTypePostprocessorInterface (View source)

Node Type post processor that looks for properties flagged with "showInCreationDialog" and sets the "creationDialog" configuration accordingly

Example NodeTypes.yaml configuration:

'Some.Node:Type':

...

properties: 'someProperty': type: string ui: label: 'Link' showInCreationDialog: true inspector: editor: 'Neos.Neos/Inspector/Editors/LinkEditor'

Will be converted to:

'Some.Node:Type':

...

ui: creationDialog: elements: 'someProperty': type: string ui: label: 'Link' editor: 'Neos.Neos/Inspector/Editors/LinkEditor' properties: 'someProperty':

...

Properties

protected array $dataTypesDefaultConfiguration
protected array $editorDefaultConfiguration

Methods

void
process(NodeType $nodeType, array $configuration, array $options)

No description

Details

void process(NodeType $nodeType, array $configuration, array $options)

No description

Parameters

NodeType $nodeType

(uninitialized) The node type to process

array $configuration

The node type configuration to be processed

array $options

The processor options

Return Value

void