Reference

Guide

$file->panelOptions()

Returns an array of all actions that can be performed in the Panel

$file->panelOptions(array $unlock = [ ]): array

Parameters

Name Type Default Description
$unlock array [ ]

An array of options that will be force-unlocked

Return type

array

Source code

kirby/src/Cms/File.php#L518