Skip to content

Kirby 3.5.7.1

$user->dragTextFromCallback()

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

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

Parameters

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

Return type

string|null

Parent class

Kirby\Cms\User inherited from Kirby\Cms\ModelWithContent