Skip to content

Kirby 6.0.0

$memoryStorage->move()

Moves content from one version-language combination to another

$memoryStorage->move(VersionId $fromVersionId, Language $fromLanguage, VersionId|null $toVersionId = null, Language|null $toLanguage = null, Storage|null $toStorage = null): void

Parameters

Name Type Default
$fromVersionIdrequired Kirby\Content\VersionId no default value
$fromLanguagerequired Kirby\Cms\Language no default value
$toVersionId Kirby\Content\VersionIdornull null
$toLanguage Kirby\Cms\Languageornull null
$toStorage Kirby\Content\Storageornull null

Parent class

Kirby\Content\MemoryStorage inherited from Kirby\Content\Storage