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