Skip to content

Kirby 6.0.1

$file->createTranslations()

Converts the content of the given translations to the values that will be stored by running each of them through the fields of the model's blueprint

$file->createTranslations(array|null $translations = null): array|null

Parameters

Name Type Default
$translations arrayornull null

Return types

arrayornull

Parent class

Kirby\Cms\File inherited from Kirby\Cms\ModelWithContent