/** * {@inheritdoc} */ public function restore($path, $userId, $webspaceKey, $languageCode, $segmentKey = null) { $this->contentMapper->restoreHistoryPath($path, $userId, $webspaceKey, $languageCode, $segmentKey); return ['resourceLocator' => $path, '_links' => []]; }