whitelabel-8.x-2.x-dev/config/schema/whitelabel.schema.yml
config/schema/whitelabel.schema.yml
whitelabel.settings:
type: config_object
label: 'White label'
mapping:
mode:
type: string
label: 'White label mode'
domain:
type: string
label: 'White label base domain'
query_string_identifier:
type: string
label: 'White label query string identifier'
site_name:
type: boolean
label: 'Override site name'
site_name_display:
type: boolean
label: 'Override site name display'
site_slogan:
type: boolean
label: 'Override site slogan'
site_logo:
type: boolean
label: 'Override site logo'
site_colors:
type: boolean
label: 'Override site colors'
site_theme:
type: boolean
label: 'Override site theme'
site_admin_theme:
nullable: true
type: string
label: 'Fixed theme for white labels'
store_resolver_enabled:
type: boolean
label: 'If the store resolver is enabled'
# Negotiation specific configuration.
whitelabel.negotiation:
type: config_object
label: 'White label negotiation settings.'
mapping:
negotiator_settings:
type: sequence
label: 'Negotiatior settings.'
orderby: key
sequence:
type: plugin.plugin_configuration.whitelabel_negotiator.[%key]
label: 'The configuration for a single negotiator.'
# Base definitions for negotiators.
whitelabel.default_negotiator_configuration:
type: mapping
label: 'Default negotiator configuration.'
mapping:
enabled:
type: boolean
label: 'If this negotiator is enabled or not.'
weight:
type: integer
label: 'The negotiator''s weight for this stage.'
# Default for any processor without specific configuration.
plugin.plugin_configuration.whitelabel_negotiator.*:
type: whitelabel.default_negotiator_configuration
# Definitions for individual processors; In this case the url based processor.
plugin.plugin_configuration.whitelabel_negotiator.url:
type: whitelabel.default_negotiator_configuration
label: 'URL based white label negotiator configuration.'
mapping:
settings:
type: mapping
label: 'The settings for this plugin.'
mapping:
mode:
type: string
label: 'The URL detection mode.'
query_string_identifier:
type: string
label: 'The query string identifier.'
domain:
type: string
label: 'The base domain that will be used.'
# Field widget settings.
field.widget.settings.entity_reference_whitelabel:
type: mapping
label: 'White label widget settings'
mapping:
color_scanner:
type: boolean
label: 'Enable color scanner'
color_scanner_amount:
type: integer
label: 'Amount of colors to detect'
form_display_mode:
type: string
label: 'Form display mode'
