Reference

Guide

$page->dragText()

Provides a kirbytag or markdown tag for the page, which will be used in the panel, when the page gets dragged onto a textarea

$page->dragText($type = 'kirbytext'): string

Parameters

Name Type Default Description
$type 'kirbytext'

Return type

string

Source code

kirby/src/Cms/Page.php#L410