Skip to content

Commit

Permalink
TASK: Adjust to removed NodeType::getName()
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Sep 26, 2023
1 parent d632b6a commit b078a19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Classes/Fusion/Helper/NodeInfoHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ protected function getBasicNodeInformation(Node $node): array
'nodeAddress' => $nodeAddress->serializeForUri(),
'name' => $node->nodeName?->value ?? '',
'identifier' => $node->nodeAggregateId->jsonSerialize(),
'nodeType' => $node->nodeType->getName(),
'nodeType' => $node->nodeTypeName->value,
'label' => $node->getLabel(),
'isAutoCreated' => self::isAutoCreated($node, $subgraph),
// TODO: depth is expensive to calculate; maybe let's get rid of this?
Expand Down Expand Up @@ -293,7 +293,7 @@ protected function renderChildrenInformation(Node $node, string $nodeTypeFilterS
$nodeAddressFactory = NodeAddressFactory::create($contentRepository);
$infos[] = [
'contextPath' => $nodeAddressFactory->createFromNode($childNode)->serializeForUri(),
'nodeType' => $childNode->nodeType->getName() // TODO: DUPLICATED; should NOT be needed!!!
'nodeType' => $childNode->nodeTypeName->value // TODO: DUPLICATED; should NOT be needed!!!
];
};
return $infos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
include: **/*.fusion
page = Neos.Fusion:Renderer {
type = ${documentNode.nodeType.name}
}

0 comments on commit b078a19

Please sign in to comment.