Skip to content

Kirby 3.6.6

$user->panelOptions()

Returns an array of all actions that can be performed in the Panel This also checks for the lock status

Deprecated in 3.6.0
Use ->panel()->options() instead
$user->panelOptions(array $unlock = [ ]): array

Parameters

Name Type Default Description
$unlock array [ ] An array of options that will be force-unlocked

Return type

array

Parent class

Kirby\Cms\User inherited from Kirby\Cms\ModelWithContent