Skip to content

Kirby 6.0.0

$role->id()

Returns the role name as id

$role->id(): string

Return type

string

Parent class

Kirby\Cms\Role