Reference

Guide

$site->contentFileData()

Prepares the content for the write method

$site->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/Site.php#L226