Neos\Neos\Ui\Controller\BackendServiceController::updateWorkspaceInfo PHP Method

updateWorkspaceInfo() protected method

Helper method to inform the client, that new workspace information is available
protected updateWorkspaceInfo ( string $documentNodeContextPath ) : void
$documentNodeContextPath string
return void
    protected function updateWorkspaceInfo($documentNodeContextPath)
    {
        $nodeService = new NodeService();
        $updateWorkspaceInfo = new UpdateWorkspaceInfo();
        $documnetNode = $this->nodeService->getNodeFromContextPath($documentNodeContextPath);
        $updateWorkspaceInfo->setDocument($nodeService->getClosestDocument($documnetNode));
        $this->feedbackCollection->add($updateWorkspaceInfo);
    }