webdam-1.0.x-dev/config/schema/webdam.schema.yml

config/schema/webdam.schema.yml
webdam.settings:
  type: config_object
  label: 'Webdam configuration'
  mapping:
    client_id:
      type: string
      label: 'Client ID'
    client_secret:
      type: string
      label: 'Client Secret'
    account_domain:
      type: string
      label: 'Account domain'
    username:
      type: string
      label: 'Username'
    password:
      type: string
      label: 'Password'
    update_frequency:
      type: integer
      label: 'The metadata update frequency in seconds'

media.source.webdam:
  type: media.source.field_aware
  label: 'Webdam type configuration'

field.formatter.settings.webdam:
  type: mapping
  label: 'Webdam display format settings'
  mapping:
    thumbnail:
      type: string
      label: 'Thumbnail'
    alt_field:
      type: string
      label: 'Alt attribute field'
    title_field:
      type: string
      label: 'Title attribute field'
    dat_query:
      type: string
      label: 'DAT attribute'
    responsive_sizes:
      type: string
      label: 'Responsive sizes'
    dat_query_responsive:
      type: string
      label: 'DAT for Responsive images'
    use_custom_transformations:
      type: boolean
      label: 'Use user-selected transformations if available'

entity_browser.browser.widget.webdam_search:
  type: mapping
  label: 'Webdam search widget configuration'
  mapping:
    submit_text:
      type: string
      label: 'Submit button text'
    media_type:
      type: string
      label: 'Media type for created image entities'
    media_type_document:
      type: string
      label: 'Media type for created document entities'
    media_type_video:
      type: string
      label: 'Media type for created video entities'
    single_file_selection:
      type: boolean
      label: 'Use single file selection'

entity_browser.browser.widget.webdam_upload:
  type: mapping
  label: 'Webdam upload widget configuration'
  mapping:
    submit_text:
      type: string
      label: 'Submit button text'
    media_type:
      type: string
      label: 'Media type for created entities'
    extensions:
      type: string
      label: 'Allowed file extensions'
    dropzone_description:
      type: string
      label: 'Dropzone area description'
    tags:
      type: sequence
      label: 'List of tags to be added to the uploaded assets'
      sequence:
        type: string
        label: 'Tag'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc