You are here

disable_language.schema.yml in Disable language 8

config/schema/disable_language.schema.yml

File

config/schema/disable_language.schema.yml
View source
  1. disable_language.settings:
  2. type: config_object
  3. label: 'Disable Language settings'
  4. mapping:
  5. redirect_override_routes:
  6. type: sequence
  7. label: 'List of route names that will redirect to themselves in the right language instead of the frontpage when accessed in a disabled language.'
  8. sequence:
  9. type: string
  10. label: 'Redirect override route'
  11. exclude_request_path:
  12. type: condition.plugin.request_path
  13. label: 'Request path condition'
  14. language.entity.*.third_party.disable_language:
  15. type: mapping
  16. label: 'Disable language settings'
  17. mapping:
  18. disable:
  19. type: boolean
  20. label: 'Disable language'
  21. redirect_language:
  22. type: string
  23. label: 'Language to redirect to'