Skip to content

Kirby 5.2.0

$changesDialog->item()

Helper method to return item props for a single given model

$changesDialog->item(Kirby\Cms\File|Kirby\Cms\Page|Kirby\Cms\User $model): array

Parameters

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

Return type

array

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

Parent class

Kirby\Panel\ChangesDialog