Skip to content

$page->dragTextType()

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

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

Parameters

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

Return type

string

Parent class

Kirby\Cms\Page inherited from Kirby\Cms\ModelWithContent