$modelwithcontent->dragTextType()
Returns the correct drag text type depending on the given type or the configuration
Parameters
Name | Type | Default | Description |
---|---|---|---|
$type | string |
null |
(null|auto|kirbytext|markdown) |
Return type
string