$memoryStorage->replaceStrings()
Searches and replaces one or multiple strings
$memoryStorage->replaceStrings(Kirby\Content\VersionId $versionId, Kirby\Cms\Language $language, array $map): void
Parameters
Name | Type | Default |
---|---|---|
$versionIdrequired | Kirby\Content\VersionId |
no default value |
$languagerequired | Kirby\Cms\Language |
no default value |
$maprequired | array |
no default value |
Exceptions
Type | Description |
---|---|
Kirby\Exception\NotFoundException |
If the version does not exist |
Parent class
Kirby\Content\MemoryStorage
inherited from Kirby\Content\Storage