Skip to content

Kirby 6.0.0

F::typeToExtensions()

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

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

Parameters

Name Type Default
$typerequired string no default value

Return types

list<string>ornull

Parent class

Kirby\Filesystem\F