Skip to content

$site->dragTextType()

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

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

Parameters

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

Return type

string

Parent class

Kirby\Cms\Site inherited from Kirby\Cms\ModelWithContent