Skip to content

Commit

Permalink
TASK: Remove NodeInfoHelper::nodeAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Feb 6, 2024
1 parent e362817 commit ce7cd45
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Classes/Fusion/Helper/NodeInfoHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
use Neos\Eel\ProtectedContextAwareInterface;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Mvc\ActionRequest;
use Neos\Flow\Mvc\Controller\ControllerContext;
use Neos\Flow\Mvc\Routing\UriBuilder;
use Neos\Flow\Persistence\PersistenceManagerInterface;
use Neos\Neos\FrontendRouting\NodeAddress;
Expand Down Expand Up @@ -416,13 +415,6 @@ protected function buildContentChildNodeFilterString(): string
);
}

public function nodeAddress(Node $node): NodeAddress
{
$contentRepository = $this->contentRepositoryRegistry->get($node->subgraphIdentity->contentRepositoryId);
$nodeAddressFactory = NodeAddressFactory::create($contentRepository);
return $nodeAddressFactory->createFromNode($node);
}

public function serializedNodeAddress(Node $node): string
{
$contentRepository = $this->contentRepositoryRegistry->get($node->subgraphIdentity->contentRepositoryId);
Expand Down

0 comments on commit ce7cd45

Please sign in to comment.