annotate core/modules/media/config/schema/media.schema.yml @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents af1871eacc83
children
rev   line source
Chris@0 1 media.settings:
Chris@0 2 type: config_object
Chris@0 3 label: 'Media settings'
Chris@0 4 mapping:
Chris@0 5 icon_base_uri:
Chris@0 6 type: string
Chris@0 7 label: 'Full URI to a folder where the media icons will be installed'
Chris@17 8 iframe_domain:
Chris@17 9 type: uri
Chris@17 10 label: 'Domain from which to serve oEmbed content in an iframe'
Chris@17 11 oembed_providers_url:
Chris@17 12 type: uri
Chris@17 13 label: 'The URL of the oEmbed providers database in JSON format'
Chris@18 14 standalone_url:
Chris@18 15 type: boolean
Chris@18 16 label: 'Allow media items to be viewed standalone at /media/{id}'
Chris@0 17
Chris@0 18 media.type.*:
Chris@0 19 type: config_entity
Chris@0 20 label: 'Media type'
Chris@0 21 mapping:
Chris@0 22 id:
Chris@0 23 type: string
Chris@0 24 label: 'Machine name'
Chris@0 25 label:
Chris@0 26 type: label
Chris@0 27 label: 'Name'
Chris@0 28 description:
Chris@0 29 type: text
Chris@0 30 label: 'Description'
Chris@0 31 source:
Chris@0 32 type: string
Chris@0 33 label: 'Source'
Chris@0 34 source_configuration:
Chris@0 35 type: media.source.[%parent.source]
Chris@0 36 queue_thumbnail_downloads:
Chris@0 37 type: boolean
Chris@0 38 label: 'Whether the thumbnail downloads should be queued'
Chris@0 39 new_revision:
Chris@0 40 type: boolean
Chris@0 41 label: 'Whether a new revision should be created by default'
Chris@0 42 field_map:
Chris@0 43 type: sequence
Chris@0 44 label: 'Field map'
Chris@0 45 sequence:
Chris@0 46 type: string
Chris@0 47
Chris@0 48 field.formatter.settings.media_thumbnail:
Chris@0 49 type: field.formatter.settings.image
Chris@0 50 label: 'Media thumbnail field display format settings'
Chris@0 51
Chris@17 52 field.formatter.settings.oembed:
Chris@17 53 type: mapping
Chris@17 54 label: 'oEmbed display format settings'
Chris@17 55 mapping:
Chris@17 56 max_width:
Chris@17 57 type: integer
Chris@17 58 label: 'Maximum width'
Chris@17 59 max_height:
Chris@17 60 type: integer
Chris@17 61 label: 'Maximum height'
Chris@17 62
Chris@17 63 field.widget.settings.oembed_textfield:
Chris@17 64 type: field.widget.settings.string_textfield
Chris@17 65 label: 'oEmbed widget format settings'
Chris@17 66
Chris@0 67 media.source.*:
Chris@0 68 type: mapping
Chris@0 69 label: 'Media source settings'
Chris@0 70
Chris@0 71 media.source.file:
Chris@0 72 type: media.source.field_aware
Chris@0 73 label: '"File" media source configuration'
Chris@0 74
Chris@0 75 media.source.image:
Chris@0 76 type: media.source.field_aware
Chris@0 77 label: '"Image" media source configuration'
Chris@0 78
Chris@14 79 media.source.audio_file:
Chris@14 80 type: media.source.field_aware
Chris@14 81 label: '"Audio" media source configuration'
Chris@14 82
Chris@14 83 media.source.video_file:
Chris@14 84 type: media.source.field_aware
Chris@14 85 label: '"Video" media source configuration'
Chris@14 86
Chris@17 87 media.source.oembed:*:
Chris@17 88 type: media.source.field_aware
Chris@17 89 label: 'oEmbed media source configuration'
Chris@17 90 mapping:
Chris@17 91 thumbnails_directory:
Chris@17 92 type: uri
Chris@17 93 label: 'URI of thumbnail storage directory'
Chris@17 94 providers:
Chris@17 95 type: sequence
Chris@17 96 label: 'Allowed oEmbed providers'
Chris@17 97 sequence:
Chris@17 98 type: string
Chris@17 99 label: 'Provider name'
Chris@17 100
Chris@0 101 media.source.field_aware:
Chris@0 102 type: mapping
Chris@0 103 mapping:
Chris@0 104 source_field:
Chris@0 105 type: string
Chris@0 106 label: 'Source field'