Skip to content

Kirby 5.1.2

$user->options()

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

$user->options(array $unlock = [ ]): array

Parameters

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

Return type

array

This method modifies the existing $user object it is applied to and returns it again.

Parent class

Kirby\Panel\User inherited from Kirby\Panel\Model