Skip to content

Kirby 3.8.4

$file->dragText()

Provides a kirbytag or markdown tag for the file, which will be used in the panel, when the file gets dragged onto a textarea

$file->dragText(string $type = null, bool $absolute = false): string

Parameters

Name Type Default Description
$type string null (auto|kirbytext|markdown)
$absolute bool false

Return type

string

Parent class

Kirby\Panel\File