Neos\Neos\Ui\Domain\Model\Changes\CreateAfter::canApply PHP Метод

canApply() публичный Метод

Check if the new node's node type is allowed in the requested position
public canApply ( ) : boolean
Результат boolean
    public function canApply()
    {
        $parent = $this->getSubject()->getParent();
        $nodeType = $this->getNodeType();
        return $parent->isNodeTypeAllowedAsChildNode($nodeType);
    }