PHP 클래스 Neos\Neos\Domain\Service\DefaultPrototypeGenerator

상속: implements Neos\Neos\Domain\Service\DefaultPrototypeGeneratorInterface
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$basePrototypeName string The Name of the prototype that is extended

공개 메소드들

메소드 설명
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

프로퍼티 상세

$basePrototypeName 보호되어 있는 프로퍼티

The Name of the prototype that is extended
protected string $basePrototypeName
리턴 string