Skip to content

Kirby 3.8.4

$page->dragTextFromCallback()

Returns the drag text from a custom callback if the callback is defined in the config

$page->dragTextFromCallback(string $type, $args = null): string|null

Parameters

Name Type Default Description
$type * string markdown or kirbytext
$args mixed null

Return type

string|null

Parent class

Kirby\Panel\Page inherited from Kirby\Panel\Model