Skip to content

Kirby 4.2.0

Focus::parse()

Transforms the focal point's string value (from content field) to a [x, y] array (values 0.0-1.0)

Focus::parse(string $value): array

Parameters

Name Type Default
$value * string

Return type

array

Parent class

Kirby\Image\Focus