Skip to content

Commit

Permalink
Update Classes/Fusion/Helper/NodeInfoHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
suffle authored Jan 2, 2022
1 parent f2d3d65 commit 6382e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Fusion/Helper/NodeInfoHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ protected function getBasicNodeInformation(NodeInterface $node): array
$parent = $node->getParent();
$isAutoCreated = $node->isTethered();
$parentConfiguration = $parent ? $parent->getNodeType()->getFullConfiguration() : [];
$isHidableAutoCreatedChild = (bool)$parentConfiguration['childNodes'][$node->getName()]['hideable'] ?? false;
$isHidableAutoCreatedChild = (bool)$parentConfiguration['childNodes'][(string)$node->getNodeName()]['hideable'] ?? false;
$policyForbidsHiding = in_array('_hidden', $this->nodePolicyService->getDisallowedProperties($node));
return [
'contextPath' => $node->getContextPath(),
Expand Down

0 comments on commit 6382e9f

Please sign in to comment.