Reference

Guide

$file->contentFileData()

Store the template in addition to the other content.

$file->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/File.php#L201