Skip to content

Kirby 6.0.0

Field::role()

User role radio buttons

Field::role(array $props = [], Roles|null $roles = null): array

Parameters

Name Type Default
$props array []
$roles Kirby\Cms\Rolesornull null

Return type

array

Parent class

Kirby\Panel\Field