bynder-4.0.0-beta1/config/schema/bynder.schema.yml

config/schema/bynder.schema.yml
bynder.settings:
  type: config_object
  label: 'Bynder configuration'
  mapping:
    permanent_token:
      type: string
      label: 'Permanent token'
    client_id:
      type: string
      label: 'Client ID'
    client_secret:
      type: string
      label: 'Client Secret'
    account_domain:
      type: string
      label: 'Account domain'
    debug:
      type: boolean
      label: 'Debug'
    usage_metaproperty:
      type: string
      label: 'Usage metaproperty'
    restrictions:
      type: mapping
      label: 'Restrictions'
      mapping:
        royalty_free:
          type: string
          label: 'Royalty free'
        web_license:
          type: string
          label: 'Web license'
        print_license:
          type: string
          label: 'Print license'
    cache_lifetime:
      type: integer
      label: 'Cached data lifetime'
    timeout:
      type: integer
      label: 'API request timeout, in seconds'
    update_frequency:
      type: integer
      label: 'The metadata update frequency in seconds'
    use_remote_images:
      type: boolean
      label: 'Use remote versions of thumbnail images.'

media.source.bynder:
  type: media.source.field_aware
  label: 'Bynder type configuration'
  mapping:
    enforce_mapped_values:
      type: boolean
      label: Enforce field mapping values
    mapping_language_overrides:
      type: sequence
      label: Language mapping overrides
      sequence:
        type: sequence
        label: Overrides for a specific language.
        sequence:
          type: string
          label: Overridden field mapping

field.formatter.settings.bynder:
  type: mapping
  label: 'Bynder 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
      lable: 'Use user-selected transformations if available'
    image_loading:
      type: mapping
      label: 'Image loading settings'
      mapping:
        attribute:
          type: string
          label: 'Loading attribute'

field.formatter.settings.bynder_document:
  type: mapping
  label: 'Bynder Document field formatter settings'
  mapping:
    link:
      type: boolean
      label: 'Render as link'
    title_field:
      type: string
      label: 'Link title field'

field.formatter.settings.bynder_video:
  type: mapping
  label: 'Bynder Video field formatter settings'
  mapping:
    controls:
      type: boolean
      label: 'Show playback controls'
    autoplay:
      type: boolean
      label: 'Autoplay'
    loop:
      type: boolean
      label: 'Loop'
    muted:
      type: boolean
      label: 'Muted'
    width:
      type: integer
      label: 'Width'
    height:
      type: integer
      label: 'Height'

entity_browser.browser.widget.bynder_search:
  type: mapping
  label: 'Bynder 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.bynder_upload:
  type: mapping
  label: 'Bynder upload widget configuration'
  mapping:
    submit_text:
      type: string
      label: 'Submit button text'
    media_type:
      type: string
      label: 'Media type for created entities'
    brand:
      type: string
      label: 'Bynder brand for uploaded assets'
    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'
    metaproperty_options:
      type: sequence
      label: 'Metaproperty options to be added to the uploaded assets'
      sequence:
        type: sequence
        label: 'Options'
        sequence:
          type: string
          label: 'Option'

action.configuration.bynder_metadata:
  type: action_configuration_default
  label: 'Update bynder metadata'

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

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