Neos\Neos\Ui\Domain\Model\Changes\Create::canApply PHP 메소드

canApply() 공개 메소드

Check if the new node's node type is allowed in the requested position
public canApply ( ) : boolean
리턴 boolean
    public function canApply()
    {
        $subject = $this->getSubject();
        $nodeType = $this->getNodeType();
        return $subject->isNodeTypeAllowedAsChildNode($nodeType);
    }