$site->dragTextFromCallback()
Returns the drag text from a custom callback if the callback is defined in the config
$site->dragTextFromCallback(string $type): string|null
Parameters
Name | Type | Default | Description |
---|---|---|---|
$typerequired | string |
no default value | markdown or kirbytext |
Return types
string
ornull
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