$fileactions->update()
Updates the file's data and ensures that media files get wiped if focus
changed
Parameters
Name | Type | Default |
---|---|---|
$input | array |null |
null |
$languageCode | string |null |
null |
$validate | bool |
false |
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 →
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the input array contains invalid values |
Parent class
Kirby\Cms\FileActions