Skip to content

Kirby 4.5.0

$modelwithcontent->lock()

Returns the lock object for this model

$modelwithcontent->lock(): Kirby\Cms\ContentLock|null

Return type

Kirby\Cms\ContentLock|null

Parent class

Kirby\Cms\ModelWithContent