Skip to content

Kirby 6.0.0

$field->toUsers()

Returns a users collection from a yaml list of user email addresses in the field

$field->toUsers(string $separator = 'yaml'): Users

Parameters

Name Type Default
$separator string 'yaml'

Return type

Kirby\Cms\Users

Parent class

Kirby\Content\Field