Skip to content

Kirby 4.4.1

$languagevariable->update()

Sets a new value for the language variable

$languagevariable->update(string $value): Kirby\Cms\LanguageVariable

Parameters

Name Type Default
$value * string

Return type

Kirby\Cms\LanguageVariable

This method does not modify the existing $languagevariable object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\LanguageVariable