class DefaultContentPrototypeGenerator extends DefaultPrototypeGenerator (View source)

deprecated will be removed with Neos 6

Generate a Fusion prototype definition based on Neos.Neos:Content

Properties

protected string $basePrototypeName

The Name of the prototype that is extended

protected string $templatePath

The template path in the package where templates are found

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