FileRules::changeSort()
Validates if the file can be sorted
FileRules::changeSort(Kirby\Cms\File $file, int $sort): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $file * | Kirby\Cms\File |
– |
| $sort * | int |
– |
Return type
bool
Validates if the file can be sorted
FileRules::changeSort(Kirby\Cms\File $file, int $sort): bool
| Name | Type | Default |
|---|---|---|
| $file * | Kirby\Cms\File |
– |
| $sort * | int |
– |
bool