Skip to content

Kirby 4.5.0

$fileactions->changeSort()

Changes the file's sorting number in the meta file

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

Parameters

Name Type Default
$sort * int

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