$config |
array |
Represents a content type configuration, which is an array containing 3
keys:
- `'name'` _string_: The type name, i.e. `'html'` or `'json'`.
- `'content'` _mixed_: One or more content types that the configuration
represents, i.e. `'text/html'`, `'application/xhtml+xml'` or
`'application/json'`, or an array containing multiple content types.
- `'options'` _array_: An array containing rendering information, and an
optional `'conditions'` key, which contains an array of matching parameters.
For more details on these matching parameters, see `Media::type()`. |