Skip to content

Kirby 4.3.0

$fileactions->copy()

Copy the file to the given page

$fileactions->copy(Kirby\Cms\Page $page): Kirby\Cms\FileActions

Parameters

Name Type Default
$page * Kirby\Cms\Page

Return type

Kirby\Cms\FileActions

This method does not modify the existing $fileactions object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\FileActions