Updates given context and restart preview with given data.
public updateContext ( string $token, string $webspaceKey, string $locale, array $context, array $data ) : string | ||
$token | string | To identify the preview-session |
$webspaceKey | string | Webspace to render object |
$locale | string | |
$context | array | Contains contextual data to restart preview |
$data | array | Data which will be updated before re-rendering content |
return | string | Complete html response |