Skip to content

Kirby 3.8.4

ContentLocks::id()

Returns model ID used as the key for the data array; prepended with a slash because the $site otherwise won't have an ID

ContentLocks::id(Kirby\Cms\ModelWithContent $model): string

Parameters

Name Type Default
$model * Kirby\Cms\ModelWithContent

Return type

string

Parent class

Kirby\Cms\ContentLocks