Skip to content

Kirby 6.0.0

$versionsButton->isCurrent()

Whether the given mode is the current mode

$versionsButton->isCurrent() 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.

$versionsButton->isCurrent(string $mode): bool

Parameters

Name Type Default
$moderequired string no default value

Return type

bool

Parent class

Kirby\Panel\Ui\Button\VersionsButton