Skip to content

Kirby 4.5.0

$languagevariable->update()

Sets a new value for the language variable

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

Parameters

Name Type Default
$value string|null 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