Skip to content

Kirby 6.0.0

$file->toLink()

Returns link url and title for model (e.g. used for prev/next navigation)

$file->toLink(string $title = 'title'): array

Parameters

Name Type Default
$title string 'title'

Return type

array

Parent class

Kirby\Panel\File inherited from Kirby\Panel\Model