$user->translation()
Returns a single translation by language code If no code is specified the current translation is returned
Parameters
Name | Type | Default |
---|---|---|
$languageCode | string |null |
null |
Return type
Kirby\Content\ContentTranslation
|null
Parent class
Kirby\Cms\User
inherited from Kirby\Cms\ModelWithContent