$user->contentFile()
Returns the absolute path to the content file
$user->contentFile(string $languageCode = null, bool $force = false): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$languageCode |
string |
null |
|
$force |
bool |
false |
Return type
string
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the language for the given code does not exist |
Inherited from
Kirby\Cms\ModelWithContent