Skip to content

Kirby 5.6.3

$translation->update()

Deprecated in 5.0.0
Use $model->version()->update() instead
$translation->update(array|null $data = null, bool $overwrite = false): Kirby\Content\Translation

Parameters

Name Type Default
$data arrayornull null
$overwrite bool false

Return type

Kirby\Content\Translation

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

Parent class

Kirby\Content\Translation