Skip to content

Kirby 4.2.0

$assets->link()

Links all dist files in the media folder and returns the link to the requested asset

$assets->link(): bool

Return type

bool

Exceptions

Type Description
Kirby\Exception\Exception If Panel assets could not be moved to the public directory

Parent class

Kirby\Panel\Assets