Skip to content

Kirby 5.0.4

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

Parent class

Kirby\Api\Controller\Changes