$field->toPages()
Returns a pages collection from a yaml list of page ids in the field
$field->toPages(string $separator = 'yaml'): Pages
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $separator | string |
'yaml'
|
Can be any other separator to split the field value by |