Skip to content

Kirby 3.5.7.1

$modelwithcontent->dragTextType()

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

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

Parameters

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

Return type

string

Parent class

Kirby\Cms\ModelWithContent