Skip to content

Kirby 6.0.0

$roles->canBeChanged()

Returns a filtered list of all roles that can be changed by the current user

$roles->canBeChanged(): Roles

Return types

Kirby\Cms\Roles

This method does not modify the existing $roles object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Roles