Skip to content

Kirby 3.5.7.1

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