Skip to content

Kirby 5.0.4

$user->contentFileData()

Prepares the content for the write method

$user->contentFileData(array $data, string|null $languageCode = null): array

Parameters

Name Type Default Description
$datarequired array no default value
$languageCode stringornull null Not used so far

Return type

array

This method modifies the existing $user object it is applied to and returns it again.

Parent class

Kirby\Cms\User