$user->content()
Returns the content
$user->content(string $languageCode = null): Kirby\Cms\Content
Parameters
Name | Type | Default | Description |
---|---|---|---|
$languageCode |
string |
null |
Return type
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the language for the given code does not exist |
Inherited from
Kirby\Cms\ModelWithContent