diff core/modules/statistics/config/schema/statistics.schema.yml @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/statistics/config/schema/statistics.schema.yml	Thu Jul 05 14:24:15 2018 +0000
@@ -0,0 +1,26 @@
+# Schema for the configuration files of the statistics module.
+
+statistics.settings:
+  type: config_object
+  label: 'Statistics settings'
+  mapping:
+    count_content_views:
+      type: integer
+      label: 'Count content views'
+    display_max_age:
+      type: integer
+      label: 'How long any statistics may be cached, i.e. the refresh interval'
+
+block.settings.statistics_popular_block:
+  type: block_settings
+  label: 'Popular content block settings'
+  mapping:
+    top_day_num:
+      type: integer
+      label: 'Number of day\s top views to display'
+    top_all_num:
+      type: integer
+      label: 'Number of all time views to display'
+    top_last_num:
+      type: integer
+      label: 'Number of most recent views to display'