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