Skip to content

Kirby 5.0.4

PdfFilePreview::accepts()

PdfFilePreview::accepts() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

PdfFilePreview::accepts(Kirby\Cms\File $file): bool

Parameters

Name Type Default
$filerequired Kirby\Cms\File no default value

Return type

bool

Parent class

Kirby\Panel\Ui\FilePreviews\PdfFilePreview