You are here

back_to_top.schema.yml in Back To Top 2.x

Same filename and directory in other branches
  1. 8 config/schema/back_to_top.schema.yml
config/schema/back_to_top.schema.yml

File

config/schema/back_to_top.schema.yml
View source
  1. # Schema for the configuration files of the back to top module.
  2. back_to_top.settings:
  3. type: config_object
  4. label: 'Back to top settings'
  5. mapping:
  6. back_to_top_prevent_on_mobile:
  7. type: boolean
  8. label: 'Prevent on mobile and touch devices'
  9. back_to_top_prevent_in_admin:
  10. type: boolean
  11. label: 'Prevent on administration pages and node edit'
  12. back_to_top_prevent_in_front:
  13. type: boolean
  14. label: 'Prevent on front page'
  15. back_to_top_button_trigger:
  16. type: float
  17. label: 'Trigger'
  18. back_to_top_button_place:
  19. type: integer
  20. label: 'Placement'
  21. back_to_top_button_text:
  22. type: label
  23. label: 'Button text'
  24. back_to_top_button_type:
  25. type: string
  26. label: 'Button type'
  27. back_to_top_bg_color:
  28. type: string
  29. label: 'Background color'
  30. back_to_top_border_color:
  31. type: string
  32. label: 'Border color'
  33. back_to_top_hover_color:
  34. type: string
  35. label: 'Hover color'
  36. back_to_top_text_color:
  37. type: string
  38. label: 'Text color'