Skip to content

Kirby 4.1.2

$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