PHP 인터페이스 Neos\Neos\Domain\Service\DefaultPrototypeGeneratorInterface

파일 보기 프로젝트 열기: neos/neos-development-collection

공개 메소드들

메소드 설명
generate ( NodeType $nodeType ) : string Generate a TypoScript prototype definition for a given node type

메소드 상세

generate() 공개 메소드

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 TypoScript object.
public generate ( NodeType $nodeType ) : string
$nodeType Neos\ContentRepository\Domain\Model\NodeType
리턴 string