Skip to content

Kirby 6.0.1

$lock->isLegacy()

Checks if the lock is coming from an old .lock file

Deprecated in 6.0.0
Old .lock files are no longer supported

$lock->isLegacy() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$lock->isLegacy(): bool

Return type

bool

Parent class

Kirby\Content\Lock