Skip to content

Kirby 5.0.4

$languageVariable->update()

Sets a new value for the language variable

$languageVariable->update(array|string|null $value = null): Kirby\Cms\LanguageVariable

Parameters

Name Type Default
$value arrayorstringornull null

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