Reference

Guide

$page->contentFileData()

Prepares the content for the write method

$page->contentFileData(array $data, string $languageCode = null): array

Parameters

Name Type Default Description
$data array
$languageCode string null

Return type

array

Source code

kirby/src/Cms/Page.php#L303