PageRules::duplicate()
Validates if the page can be duplicated
Parameters
Name | Type | Default |
---|---|---|
$page * | Kirby\Cms\Page |
– |
$slug * | string |
– |
$options | array |
[ ] |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\PermissionException |
If the user is not allowed to duplicate the page |