Media::publish()
Copy the file to the final media folder location
Media::publish(Kirby\Cms\File $file, string $dest): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $file * | Kirby\Cms\File |
– |
| $dest * | string |
– |
Return type
bool