$page->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
$page->createTranslations(array|null $translations = null): array|null
Parameters
| Name | Type | Default |
|---|---|---|
| $translations | arrayornull |
null
|
Return types
arrayornull
This method modifies the existing $page object it is applied to and returns it again.
Parent class
Kirby\Cms\Page
inherited from Kirby\Cms\ModelWithContent