Skip to content

Kirby 4.5.0

Field::role()

User role radio buttons

Field::role(array $props = [ ], ?Kirby\Cms\Roles $roles = null): array

Parameters

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

Return type

array

Parent class

Kirby\Panel\Field