Changes::publish()
Saves the latest state of changes first and then publishes them
Changes::publish(ModelWithContent $model, array $input): array
Parameters
| Name | Type | Default |
|---|---|---|
| $modelrequired | Kirby\Cms\ModelWithContent |
no default value |
| $inputrequired | array |
no default value |
Return type
array<string, mixed>