PageRules::changeStatusToUnlisted()
Validates if the status of a page can be changed to unlisted
PageRules::changeStatusToUnlisted(Kirby\Cms\Page $page)
Parameters
| Name | Type | Default |
|---|---|---|
| $pagerequired | Kirby\Cms\Page |
no default value |
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\PermissionException |
If the user is not allowed to change the status |