$model->dragTextFromCallback()
Returns the drag text from a custom callback if the callback is defined in the config
Parameters
Name | Type | Default | Description |
---|---|---|---|
$type * | string |
– | markdown or kirbytext |
$args | mixed |
null |
Return type
string
|null