$assets->link()
Links all dist files in the media folder and returns the link to the requested asset
$assets->link(): bool
Return type
bool
This method modifies the existing $assets
object it is applied to and returns it again.
Exceptions
Type | Description |
---|---|
Kirby\Exception\Exception |
If Panel assets could not be moved to the public directory |