LanguageVariable::create()
Creates a new language variable. This will be added to the default language first and can then be translated in other languages.
LanguageVariable::create(string $key, ?string $value = null): Kirby\Cms\LanguageVariable
Parameters
Name | Type | Default |
---|---|---|
$key * | string |
– |
$value | string |null |
null |