Skip to content

Kirby 3.7.5

PageRules::changeStatusToUnlisted()

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

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

Parameters

Name Type Default
$page * Kirby\Cms\Page

Return type

bool

Exceptions

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

Parent class

Kirby\Cms\PageRules