swup-1.0.0-alpha1/swup_ui/config/schema/swup_ui.schema.yml
swup_ui/config/schema/swup_ui.schema.yml
# Schema for Swup UI settings configuration.
swup_ui.settings:
type: config_object
label: 'Swup settings'
mapping:
load:
type: boolean
label: 'Let module handle loading Swup.js'
cdn_provider:
type: string
label: 'CDN provider'
prefer_local:
type: boolean
label: 'Prefer local installation when available'
local_variant:
type: string
label: 'Local build variant (minified or non-minified)'
core:
type: boolean
label: 'Enable Swup core'
plugins:
type: mapping
label: 'Plugin selection'
mapping:
a11y:
type: boolean
label: 'Accessibility Plugin'
body_class:
type: boolean
label: 'Body Class Plugin'
debug:
type: boolean
label: 'Debug Plugin'
forms:
type: boolean
label: 'Forms Plugin'
fragment:
type: boolean
label: 'Fragment Plugin'
head:
type: boolean
label: 'Head Plugin'
js:
type: boolean
label: 'JS Plugin'
parallel:
type: boolean
label: 'Parallel Plugin'
preload:
type: boolean
label: 'Preload Plugin'
progress:
type: boolean
label: 'Progress Bar Plugin'
route_name:
type: boolean
label: 'Route Name Plugin'
scripts:
type: boolean
label: 'Scripts Plugin'
scroll:
type: boolean
label: 'Scroll Plugin'
integrations:
type: mapping
label: 'Integration selection'
mapping:
ga:
type: boolean
label: 'Google Analytics Plugin'
gtm:
type: boolean
label: 'Google Tag Manager Plugin'
matomo:
type: boolean
label: 'Matomo Plugin'
theme_groups:
type: mapping
label: 'Theme visibility'
mapping:
negate:
type: integer
label: 'Negate'
themes:
type: sequence
label: 'Themes'
sequence:
type: string
request_path:
type: mapping
label: 'Path visibility'
mapping:
negate:
type: integer
label: 'Negate'
pages:
type: sequence
label: 'Pages'
sequence:
type: string
