Skip to content

Kirby 5.0.4

F::typeToExtensions()

Returns all extensions of a given file type or null if the file type is unknown

F::typeToExtensions(string $type): array|null

Parameters

Name Type Default
$typerequired string no default value

Return types

arrayornull

Parent class

Kirby\Filesystem\F