Skip to content

Kirby 3.9.8

$pageactions->copy()

Copies the page to a new parent

$pageactions->copy(array $options = [ ]): Kirby\Cms\Page

Parameters

Name Type Default
$options array [ ]

Return type

Kirby\Cms\Page

Exceptions

Type Description
Kirby\Exception\DuplicateException If the page already exists

Parent class

Kirby\Cms\PageActions