PageRules::changeStatusToUnlisted()
Validates if the status of a page can be changed to unlisted
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 |