new UserItem()
new UserItem(User $user, array|string|false|null $image = [], string|null $info = '{{ user.role.title }}', string|null $layout = null, string|null $text = null)
Parameters
| Name | Type | Default |
|---|---|---|
| $userrequired | Kirby\Cms\User |
no default value |
| $image | arrayorstringorfalseornull |
[]
|
| $info | stringornull |
'{{ user.role.title }}'
|
| $layout | stringornull |
null
|
| $text | stringornull |
null
|