Skip to content

Kirby 3.5.7.1

new Role()

new Role(array $props)

Parameters

Name Type Default
$props * array

For the $props parameter, you pass an array with the following data, which will be used to set up the Kirby\Cms\Role object:

Name Type
description mixed
name * string
permissions mixed
title mixed

Parent class

Kirby\Cms\Role