Skip to content

Kirby 4.5.0

ContentLocks::file()

Returns the path to a model's lock file

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

Parameters

Name Type Default
$model * Kirby\Cms\ModelWithContent

Return type

string

Parent class

Kirby\Cms\ContentLocks