You are here

file_download_counter.schema.yml in File Download 8

modules/file_download_counter/config/schema/file_download_counter.schema.yml

File

modules/file_download_counter/config/schema/file_download_counter.schema.yml
View source
  1. # Schema for the configuration files of the statistics module.
  2. file_download_counter.settings:
  3. type: config_object
  4. label: 'File Download settings'
  5. mapping:
  6. access_log:
  7. type: mapping
  8. label: 'Access log settings'
  9. mapping:
  10. enabled:
  11. type: boolean
  12. label: 'Enable'
  13. max_lifetime:
  14. type: integer
  15. label: 'Maximum lifetime'
  16. count_downloads:
  17. type: integer
  18. label: 'Count content downloads'
  19. display_max_age:
  20. type: integer
  21. label: 'How long any statistics may be cached, i.e. the refresh interval'
  22. block.settings.file_download_counter_popular_block:
  23. type: block_settings
  24. label: 'Popular downloads block settings'
  25. mapping:
  26. top_day_num:
  27. type: integer
  28. label: 'Number of day\s top downloads to display'
  29. top_all_num:
  30. type: integer
  31. label: 'Number of all time downloads to display'
  32. top_last_num:
  33. type: integer
  34. label: 'Number of most recent downloads to display'