Skip to content

Kirby 4.2.0

Html::svg()

Includes an SVG file by absolute or relative file path.

Html::svg(Kirby\Cms\File|string $file): string|false

Parameters

Name Type Default
$file * Kirby\Cms\File|string

Return type

string|false

Parent class

Kirby\Cms\Html