Skip to content

Kirby 5.0.4

$file->dragTextType()

Returns the correct drag text type depending on the given type or the configuration

$file->dragTextType(string|null $type = 'auto'): string

Parameters

Name Type Default Description
$type stringornull 'auto' (auto|kirbytext|markdown)

Return type

string

This method modifies the existing $file object it is applied to and returns it again.

Parent class

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