FileTypes
New in version 1.2
Folder: Content
EXT:your_extension/ContentBlocks/FileTypes/image/config.yaml
name: example/file-type-image
typeName: image
prefixFields: false
fields:
- identifier: image_overlay_palette
type: Palette
label: 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_reference.imageoverlayPalette'
fields:
- identifier: alternative
useExistingField: true
- identifier: description
useExistingField: true
- type: Linebreak
- identifier: link
useExistingField: true
- identifier: title
useExistingField: true
- type: Linebreak
- identifier: example_custom_field
type: Text
label: 'My custom Field'
- type: Linebreak
- identifier: crop
useExistingField: true
Copied!
Learn more about File Types.
Options
Note
There are no common root options for this type.
Name | Type | Default | Required |
---|---|---|---|
string | true |
typeName
-
- Type
- string
- Required
true
The
type
has to be one of these keywords:Name - text
- image
- audio
- video
- application
typeName: image
Copied!