Skip to content

Kirby 3.6.6

$contenttranslation->update()

Merge the old and new data

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

Parameters

Name Type Default
$data array null
$overwrite bool false

Return type

Kirby\Cms\ContentTranslation

This method modifies the existing $contenttranslation object it is applied to and returns it again.

Parent class

Kirby\Cms\ContentTranslation