Skip to content

Kirby 3.5.7.1

$useractions->changeLanguage()

Changes the user language

$useractions->changeLanguage(string $language): Kirby\Cms\UserActions

Parameters

Name Type Default
$language * string

Return type

Kirby\Cms\UserActions

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

Parent class

Kirby\Cms\UserActions