$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 →