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
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
Name | Type | Default |
---|---|---|
$value * | string |
– |
array