PageRules::changeNum()
Validates if the sorting number of the page can be changed
Parameters
Name | Type | Default |
---|---|---|
$page * | Kirby\Cms\Page |
– |
$num | int |
null |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the given number is invalid |