$userActions->changeLanguage()
Changes the user language
$userActions->changeLanguage(string $language): Kirby\Cms\UserActions
Parameters
| Name | Type | Default |
|---|---|---|
| $languagerequired | string |
no default value |
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