Skip to content

Kirby 6.0.1

$fileActions->publish()

Move the file to the public media folder if it's not already there.

$fileActions->publish(): FileActions

Return type

Kirby\Cms\FileActions

This method modifies the existing $fileactions object it is applied to and returns it again.

Parent class

Kirby\Cms\FileActions