Neos\Neos\Service\Controller\NodeController::redirectToRenderNode PHP Метод

redirectToRenderNode() защищенный Метод

Takes care of creating a redirect to properly render the collection the given node is in.
protected redirectToRenderNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $typoScriptPath ) : string
$node Neos\ContentRepository\Domain\Model\NodeInterface
$typoScriptPath string
Результат string
    protected function redirectToRenderNode(NodeInterface $node, $typoScriptPath)
    {
        $q = new FlowQuery(array($node));
        $closestContentCollection = $q->closest('[instanceof Neos.Neos:ContentCollection]')->get(0);
        $closestDocumentNode = $q->closest('[instanceof Neos.Neos:Document]')->get(0);
        $this->redirect('show', 'Frontend\\Node', 'Neos.Neos', ['node' => $closestDocumentNode, '__nodeContextPath' => $closestContentCollection->getContextPath(), '__affectedNodeContextPath' => $node->getContextPath(), '__typoScriptPath' => $typoScriptPath], 0, 303, 'html');
    }