Skip to content

Kirby 6.0.0

$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(Language|string $language = 'default'): bool

Parameters

Name Type Default
$language Kirby\Cms\Languageorstring 'default'

Return type

bool

Parent class

Kirby\Content\Version