$storage->read()
Returns the stored content fields
$storage->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.
$storage->read(Kirby\Content\VersionId $versionId, Kirby\Cms\Language $language): array
Parameters
Name | Type | Default |
---|---|---|
$versionIdrequired | Kirby\Content\VersionId |
no default value |
$languagerequired | Kirby\Cms\Language |
no default value |
Return type
array<string, string>
This method modifies the existing $storage
object it is applied to and returns it again.