Skip to content

Kirby 5.0.2

A::move()

Move an array item to a new index

A::move(array $array, int $from, int $to): array

Parameters

Name Type Default
$arrayrequired array no default value
$fromrequired int no default value
$torequired int no default value

Return type

array

Parent class

Kirby\Toolkit\A