Skip to content

Kirby 4.2.0

$contenttranslation->update()

Merge the old and new data

$contenttranslation->update(?array $data = null, bool $overwrite = false): Kirby\Content\ContentTranslation

Parameters

Name Type Default
$data array|null null
$overwrite bool false

Return type

Kirby\Content\ContentTranslation

This method does not modify the existing $contenttranslation object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Content\ContentTranslation