Skip to content

Kirby 4.2.0

$file->html()

Converts the file to html

$file->html(array $attr = [ ]): string

Parameters

Name Type Default
$attr array [ ]

Return type

string

Parent class

Kirby\Cms\File