PageRules::changeStatus()
Validates if the status for the page can be changed
Parameters
Name | Type | Default |
---|---|---|
$page * | Kirby\Cms\Page |
– |
$status * | string |
– |
$position | int |null |
null |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the given status is invalid |