Skip to content

Kirby 6.0.0

$changesDialogController->item()

Helper method to return item props for a single given model

$changesDialogController->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.

$changesDialogController->item(File|Page|Site|User $model): array

Parameters

Name Type Default
$modelrequired Kirby\Cms\FileorKirby\Cms\PageorKirby\Cms\SiteorKirby\Cms\User no default value

Return type

array

Parent class

Kirby\Panel\Controller\Dialog\ChangesDialogController