PHP 클래스 Neos\ContentRepository\Migration\Transformations\ChangeNodeType

상속: extends AbstractTransformation
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$newType string The new Node Type to use as a string
$nodeTypeManager Neos\ContentRepository\Domain\Service\NodeTypeManager

공개 메소드들

메소드 설명
execute ( NodeData $node ) : void Change the Node Type on the given node.
isTransformable ( NodeData $node ) : boolean If the given node has the property this transformation should work on, this returns TRUE if the given NodeType is registered with the NodeTypeManager and is not abstract.
setNewType ( string $newType ) : void

메소드 상세

execute() 공개 메소드

Change the Node Type on the given node.
public execute ( NodeData $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeData
리턴 void

isTransformable() 공개 메소드

If the given node has the property this transformation should work on, this returns TRUE if the given NodeType is registered with the NodeTypeManager and is not abstract.
public isTransformable ( NodeData $node ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeData
리턴 boolean

setNewType() 공개 메소드

public setNewType ( string $newType ) : void
$newType string
리턴 void

프로퍼티 상세

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

The new Node Type to use as a string
protected string $newType
리턴 string

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

protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager
리턴 Neos\ContentRepository\Domain\Service\NodeTypeManager