FileTypes

New in version 1.2

Folder: ContentBlocks/FileTypes

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

Name Type Default Required
string true

typeName

typeName
Type
string
Required

true

The typeName has to be one of these keywords:

  • text
  • image
  • audio
  • video
  • application
typeName: image
Copied!