trait NodesTrait (View source)

Methods

createNode(string $title, Translation $translation, Node $node = null, NodeType $type = null)

No description

NodeType|null
addStackType(array $data, Node $node)

No description

Form
buildStackTypesForm(Node $node)

No description

Form
buildAddChildForm(Node $parentNode = null)

No description

Form
buildDeleteForm(Node $node)

No description

Form
buildEmptyTrashForm()

No description

Details

protected Node createNode(string $title, Translation $translation, Node $node = null, NodeType $type = null)

Parameters

string $title
Translation $translation
Node $node
NodeType $type

Return Value

Node

NodeType|null addStackType(array $data, Node $node)

Parameters

array $data
Node $node

Return Value

NodeType|null

Form buildStackTypesForm(Node $node)

Parameters

Node $node

Return Value

Form

protected Form buildAddChildForm(Node $parentNode = null)

Parameters

Node $parentNode

Return Value

Form

protected Form buildDeleteForm(Node $node)

Parameters

Node $node

Return Value

Form

protected Form buildEmptyTrashForm()

Return Value

Form