$content->get()
Returns either a single field object or all registered fields
Parameters
Name | Type | Default |
---|---|---|
$key | string |null |
null |
Return type
Kirby\Content\Field
|array
Returns either a single field object or all registered fields
Name | Type | Default |
---|---|---|
$key | string |null |
null |
Kirby\Content\Field
|array