Skip to content

Kirby 6.0.0

$asset->mediaRoot()

Absolute path to the asset file in the media folder

$asset->mediaRoot(): string

Return type

string

Parent class

Kirby\Plugin\Asset