elevatezoomplus-8.x-1.x-dev/config/schema/elevatezoomplus.schema.yml

config/schema/elevatezoomplus.schema.yml
# Schema for the configuration files of the ElevateZoomPlus module.
# ElevateZoomPlus JS settings managed by UI.
elevatezoomplus_optionset:
  type: mapping
  label: Settings
  mapping:
    responsive:
      type: boolean
      label: Responsive
    zoomType:
      type: string
      label: zoomType
    scrollZoom:
      type: boolean
      label: scrollZoom
    lensSize:
      type: integer
      label: lensSize
    zoomWindowWidth:
      type: integer
      label: zoomWindowWidth
    zoomWindowHeight:
      type: integer
      label: zoomWindowHeight
    zoomWindowOffsetX:
      type: integer
      label: zoomWindowOffsetX
    zoomWindowOffsetY:
      type: integer
      label: zoomWindowOffsetY
    zoomWindowPosition:
      type: string
      label: zoomWindowPosition
    lensFadeIn:
      type: boolean
      label: lensFadeIn
    lensFadeOut:
      type: boolean
      label: lensFadeOut
    zoomWindowFadeIn:
      type: boolean
      label: zoomWindowFadeIn
    zoomWindowFadeOut:
      type: boolean
      label: zoomWindowFadeOut
    zoomTintFadeIn:
      type: boolean
      label: zoomTintFadeIn
    zoomTintFadeOut:
      type: boolean
      label: zoomTintFadeOut
    borderSize:
      type: integer
      label: borderSize
    showLens:
      type: boolean
      label: showLens
    borderColour:
      type: string
      label: borderColour
    lensBorder:
      type: integer
      label: lensBorder
    lensShape:
      type: string
      label: lensShape
    containLensZoom:
      type: boolean
      label: containLensZoom
    lensColour:
      type: string
      label: lensColour
    lensOpacity:
      type: float
      label: lensOpacity
    # @todo recheck no camelCase?
    lenszoom:
      type: boolean
      label: lenszoom
    easing:
      type: boolean
      label: easing
    easingType:
      type: string
      label: easingType
    easingDuration:
      type: integer
      label: easingDuration
    tint:
      type: boolean
      label: tint
    tintColour:
      type: string
      label: tintColour
    tintOpacity:
      type: float
      label: tintOpacity
    cursor:
      type: string
      label: cursor
    imageCrossfade:
      type: boolean
      label: imageCrossfade
    loadingIcon:
      type: string
      label: loadingIcon
    constrainType:
      type: string
      label: constrainType
    constrainSize:
      type: string
      label: constrainSize
    range:
      type: string
      label: Range
    enabled:
      type: boolean
      label: Enabled
    respond:
      type: sequence
      label: Responds
      sequence:
        type: elevatezoomplus_optionset
        label: Respond

# Individual ElevateZoomPlus JS settings managed by UI.
elevatezoomplus.optionset.*:
  type: config_entity
  label: 'ElevateZoomPlus optionset'
  mapping:
    id:
      type: string
      label: ID
    name:
      type: string
      label: Name
    weight:
      type: integer
      label: Weight
    label:
      type: label
      label: Label
    uuid:
      type: string
      label: UUID
    options:
      type: mapping
      label: Options
      mapping:
        options__active_tab:
          type: string
        misc:
          type: mapping
          label: Misc
          mapping:
            lightbox:
              type: string
              label: Lightbox
        settings:
          type: elevatezoomplus_optionset
          label: Settings

# HTML content/layout-related settings managed by ElevateZoomPlus plugins.
elevatezoomplus_base:
  type: blazy_base
  label: 'ElevateZoomPlus display format base settings'

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

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