Skip to content

Kirby 6.0.0

$versionsButton->icon()

Returns the button icon based on the view's mode

$versionsButton->icon() 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->icon(): string

Return type

string

Parent class

Kirby\Panel\Ui\Button\VersionsButton