$pageActions->copy()
Copies the page to a new parent
$pageActions->copy(array $options = [ ]): Kirby\Cms\PageActions
Parameters
| Name | Type | Default |
|---|---|---|
| $options | array |
[ ]
|
Return type
Kirby\Cms\PageActions
This method does not modify the existing $pageactions object but returns a new object with the changes applied. Learn more →
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\DuplicateException |
If the page already exists |
Parent class
Kirby\Cms\PageActions