$fieldMethods->toData()
Parses the field value with the given method
$fieldMethods->toData(string $method = ','): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $method | string |
','
|
[',', 'yaml', 'json'] |
Return type
array
Parent class
Kirby\Content\FieldMethods