Field::role()
User role radio buttons
Field::role(array $props = [ ], Kirby\Cms\Roles|null $roles = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $props | array |
[ ]
|
| $roles | Kirby\Cms\Rolesornull |
null
|
Return type
array