Skip to content

Kirby 4.5.0

$file->contentFiles()

Returns an array with all content files; NOTE: only supports the published content file (use $model->storage()->contentFiles() for other versions)

Deprecated in 4.0.0
$file->contentFiles(): array

Return type

array

Parent class

Kirby\Cms\File inherited from Kirby\Cms\ModelWithContent