disable_language.schema.yml in Disable language 8
config/schema/disable_language.schema.yml
File
config/schema/disable_language.schema.ymlView source
- disable_language.settings:
- type: config_object
- label: 'Disable Language settings'
- mapping:
- redirect_override_routes:
- type: sequence
- label: 'List of route names that will redirect to themselves in the right language instead of the frontpage when accessed in a disabled language.'
- sequence:
- type: string
- label: 'Redirect override route'
- exclude_request_path:
- type: condition.plugin.request_path
- label: 'Request path condition'
-
- language.entity.*.third_party.disable_language:
- type: mapping
- label: 'Disable language settings'
- mapping:
- disable:
- type: boolean
- label: 'Disable language'
- redirect_language:
- type: string
- label: 'Language to redirect to'