$page->readContent()
Read the content from the content file
Deprecated
in 5.0.0
Use ->version()->read() instead $page->readContent(string|null $languageCode = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $languageCode | stringornull |
null
|
Return type
array
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