Skip to content

Kirby 5.1.4

$file->dropdownOption()

Returns the setup for a dropdown option which is used in the changes dropdown for example

Deprecated in 5.1.4
Use the Kirby\Panel\Ui\Item\FileItem class instead
$file->dropdownOption(): array

Return type

array

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

Parent class

Kirby\Panel\File