$file->contentFileData()
Store the template in addition to the other content.
$file->contentFileData()
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.
$file->contentFileData(array $data, string|null $languageCode = null): array
Parameters
Name | Type | Default |
---|---|---|
$datarequired | array |
no default value |
$languageCode | string ornull |
null
|
Return type
array