$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
This method does not modify the existing $translation object but returns a new object with the changes applied. Learn more →