$version->isLocked()
Checks if the version is locked for the current user
$version->isLocked()
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.
$version->isLocked(Kirby\Cms\Language|string $language = 'default'): bool
Parameters
Name | Type | Default |
---|---|---|
$language | Kirby\Cms\Language orstring |
'default'
|
Return type
bool
This method modifies the existing $version
object it is applied to and returns it again.