Skip to content

Kirby 6.0.0

$version->read()

Returns the stored content fields

$version->read() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$version->read(Language|string $language = 'default'): array|null

Parameters

Name Type Default
$language Kirby\Cms\Languageorstring 'default'

Return types

array<string, string>ornull

Parent class

Kirby\Content\Version