src/Sulu/Component/DocumentManager/NodeHelper.php
private function normalizePath(SessionInterface $session, $identifier)
    {
        if (!UUIDHelper::isUUID($identifier)) {
            return $identifier;
        }

        return $session->getNodeByIdentifier($identifier)->getPath();
    }
private function normalizePath(SessionInterface $session, $identifier)
    {
        if (!UUIDHelper::isUUID($identifier)) {
            return $identifier;
        }

        return $session->getNodeByIdentifier($identifier)->getPath();
    }
private function normalizePath ( SessionInterface $ session , $ identifier ) { if ( ! UUIDHelper :: isUUID ( $ identifier ) ) { return $ identifier ; } return $ session -> getNodeByIdentifier ( $ identifier ) -> getPath ( ) ; }
Returns the path based on the given UUID.

@param SessionInterface $session
@param string $identifier

@return string
Returns the path based on the given UUID .