Skip to content

Kirby 4.5.0

$file->isLocked()

Checks if the model is locked for the current user

$file->isLocked(): bool

Return type

bool

Parent class

Kirby\Cms\File inherited from Kirby\Cms\ModelWithContent