menu 8 Menu layout grid Overview Mime::fromSvg() Tries to detect a valid SVG and returns the mime type accordingly Mime::fromSvg(string $file): string|bool Parameters Name Type Default Description $file string Return type string|bool Source code kirby/src/Toolkit/Mime.php#L202