$pageactions->duplicate()
Duplicates the page with the given slug and optionally copies all files
Parameters
Name | Type | Default |
---|---|---|
$slug | string |null |
null |
$options | array |
[ ] |
Return type
Parent class
Kirby\Cms\PageActions