Skip to content

Kirby 4.2.0

PageRules::changeStatusToUnlisted()

Validates if the status of a page can be changed to unlisted

PageRules::changeStatusToUnlisted(Kirby\Cms\Page $page)

Parameters

Name Type Default
$page * Kirby\Cms\Page

Exceptions

Type Description
Kirby\Exception\PermissionException If the user is not allowed to change the status

Parent class

Kirby\Cms\PageRules