statistics.schema.yml

Same filename in other branches
  1. 9 core/modules/statistics/config/schema/statistics.schema.yml
  2. 8.9.x core/modules/statistics/config/schema/statistics.schema.yml
  3. 10 core/modules/statistics/config/schema/statistics.schema.yml
core/modules/statistics/config/schema/statistics.schema.yml

File

core/modules/statistics/config/schema/statistics.schema.yml

View source
  1. # Schema for the configuration files of the statistics module.
  2. statistics.settings:
  3. type: config_object
  4. label: 'Statistics settings'
  5. mapping:
  6. count_content_views:
  7. type: integer
  8. label: 'Count content views'
  9. display_max_age:
  10. type: integer
  11. label: 'How long any statistics may be cached, i.e. the refresh interval'
  12. block.settings.statistics_popular_block:
  13. type: block_settings
  14. label: 'Popular content block settings'
  15. mapping:
  16. top_day_num:
  17. type: integer
  18. label: 'Number of day\s top views to display'
  19. top_all_num:
  20. type: integer
  21. label: 'Number of all time views to display'
  22. top_last_num:
  23. type: integer
  24. label: 'Number of most recent views to display'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.