Skip to content

Kirby 5.0.4

PageRules::update()

Validates if the page can be updated

PageRules::update(Kirby\Cms\Page $page, array $content = [ ]): void

Parameters

Name Type Default
$pagerequired Kirby\Cms\Page no default value
$content array [ ]

Exceptions

Type Description
Kirby\Exception\PermissionException If the user is not allowed to update the page

Parent class

Kirby\Cms\PageRules