Skip to content

Kirby 6.0.0

$modelPickerDialogController->item()

Returns the picker data for a model

$modelPickerDialogController->item() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$modelPickerDialogController->item(ModelWithContent $model): array

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value

Return type

array

Parent class

Kirby\Panel\Controller\Dialog\ModelPickerDialogController