Skip to content

Kirby 3.7.5

$modelwithcontent->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
$modelwithcontent->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\ModelWithContent