Skip to content

Kirby 5.0.4

$fileActions->changeSort()

Changes the file's sorting number in the meta file

$fileActions->changeSort(int $sort): Kirby\Cms\FileActions

Parameters

Name Type Default
$sortrequired int no default value

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