Skip to content

Kirby 4.5.0

Blocks::sortArgs()

Get sort arguments from a string

Blocks::sortArgs(string $sort): array

Parameters

Name Type Default
$sort * string

Return type

array

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Collection