Skip to content

Kirby 5.0.4

$languageSettingsButton->key()

Returns a (unique) key that can be used for Vue's :key attribute

$languageSettingsButton->key() 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.

$languageSettingsButton->key(): string

Return type

string

This method modifies the existing $languagesettingsbutton object it is applied to and returns it again.

Parent class

Kirby\Panel\Ui\Buttons\LanguageSettingsButton inherited from Kirby\Panel\Ui\Component