Skip to content

Panel::link()

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

Panel::link(Kirby\Cms\App $kirby): bool

Parameters

Name Type Default
$kirby * Kirby\Cms\App

Return type

bool

Exceptions

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

Parent class

Kirby\Cms\Panel