Skip to content

Kirby 4.4.1

F::extensionToType()

Returns the file type for a passed extension

F::extensionToType(string $extension): string|false

Parameters

Name Type Default
$extension * string

Return type

string|false

Parent class

Kirby\Filesystem\F