Skip to content

Kirby 5.0.4

$site->contentFileData()

Prepares the content for the write method

$site->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 $site object it is applied to and returns it again.

Parent class

Kirby\Cms\Site