$pageactions->copy()
Copies the page to a new parent
$pageactions->copy(array $options = [ ]): Kirby\Cms\Page
Parameters
| Name | Type | Default |
|---|---|---|
| $options | array |
[ ] |
Return type
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\DuplicateException |
If the page already exists |
Parent class
Kirby\Cms\PageActions