$page->contentFileData()
Prepares the content for the write method
$page->contentFileData(array $data, string|null $languageCode = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $datarequired | array |
no default value |
| $languageCode | stringornull |
null
|
Return type
array
This method modifies the existing $page object it is applied to and returns it again.