Skip to content

Kirby 3.5.7.1

PageRules::update()

Validates if the page can be updated

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

Parameters

Name Type Default
$page * Kirby\Cms\Page
$content array [ ]

Return type

bool

Exceptions

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

Parent class

Kirby\Cms\PageRules