Skip to content

Kirby 4.5.0

$file->errors()

Returns all content validation errors

$file->errors(): array

Return type

array

Parent class

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