interface DefaultPrototypeGeneratorInterface (View source)

Generate a Fusion prototype definition for a given node type

Methods

string
generate(NodeType $nodeType)

Generate a Fusion prototype definition for a given node type

Details

string generate(NodeType $nodeType)

Generate a Fusion prototype definition for a given node type

A node will be rendered by Neos.Neos:Content by default with a template in resource://PACKAGE_KEY/Private/Templates/NodeTypes/NAME.html and forwards all public node properties to the template Fusion object.

Parameters

NodeType $nodeType

Return Value

string