Skip to content

Kirby 4.5.0

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
$type * string

Return type

array|null

Parent class

Kirby\Filesystem\F