Skip to content

Kirby 6.0.1

$translation->toArray()

Converts the most important properties to an array

$translation->toArray(): array{code: string, data: array, name: string, author: string}

Return type

array{code: string, data: array<string, mixed>, name: string, author: string}

Parent class

Kirby\Cms\Translation