editorConfig = $editor; $registry->editorConfig['token'] = session_id(); $route = new \Route\FrontendRoute($siteID, true);