Skip to content

Kirby 5.0.4

$site->dragTextType()

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

$site->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 $site object it is applied to and returns it again.

Parent class

Kirby\Panel\Site inherited from Kirby\Panel\Model