Set language for user (quietly)
- Sets the language without tracking it as a change to the user.
- If language support is not installed this method silently does nothing.
Available since version 3.0.186.
$self = $user->setLanguage($language);
|Language, string, int|
Language object, name, or ID
Method can throw exceptions on error:
WireException- if language support is installed and given an invalid/unknown language
API reference based on ProcessWire core version 3.0.200