Skip to content

Kirby 3.5.7.1

$file->dragTextType()

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

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

Parameters

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

Return type

string

Parent class

Kirby\Cms\File inherited from Kirby\Cms\ModelWithContent