src/Node.php
protected function transformNodeType(NodeType $nodeType)
    {
        $this->setNodeTypeByKey($nodeType->getKey());

        foreach ($this->translations as $translation)
        {
            $translation->source_type = $nodeType->getName();
        }
    }
protected function transformNodeType(NodeType $nodeType)
    {
        $this->setNodeTypeByKey($nodeType->getKey());

        foreach ($this->translations as $translation)
        {
            $translation->source_type = $nodeType->getName();
        }
    }
protected function transformNodeType ( NodeType $ nodeType ) { $ this -> setNodeTypeByKey ( $ nodeType -> getKey ( ) ) ; foreach ( $ this -> translations as $ translation ) { $ translation -> source_type = $ nodeType -> getName ( ) ; } }
Transforms the node type

@param NodeType $nodeType
Transforms the node type