Skip to content

Kirby 5.3.2

$page->dragTextFromCallback()

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

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

Parameters

Name Type Default Description
$typerequired string no default value markdown or kirbytext
...$args mixed no default value

Return types

stringornull

This method modifies the existing $page object it is applied to and returns it again.

Parent class

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