views.view.who_s_online.yml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. uuid: 76c91f89-ea4b-4aaf-b2b7-1630f39409ae
  2. langcode: fr
  3. status: true
  4. dependencies:
  5. module:
  6. - user
  7. _core:
  8. default_config_hash: DWLCIpl8ku4NbiI9t3GgDeuW13KSOy2l1zho7ReP_Bg
  9. id: who_s_online
  10. label: 'Who''s online block'
  11. module: user
  12. description: 'Shows the user names of the most recently active users, and the total number of active users.'
  13. tag: default
  14. base_table: users_field_data
  15. base_field: uid
  16. core: 8.x
  17. display:
  18. default:
  19. display_plugin: default
  20. id: default
  21. display_title: Master
  22. position: 0
  23. display_options:
  24. access:
  25. type: perm
  26. options:
  27. perm: 'access user profiles'
  28. cache:
  29. type: tag
  30. options: { }
  31. query:
  32. type: views_query
  33. options:
  34. disable_sql_rewrite: false
  35. distinct: false
  36. replica: false
  37. query_comment: ''
  38. query_tags: { }
  39. exposed_form:
  40. type: basic
  41. options:
  42. submit_button: Apply
  43. reset_button: false
  44. reset_button_label: Reset
  45. exposed_sorts_label: 'Sort by'
  46. expose_sort_order: true
  47. sort_asc_label: Asc
  48. sort_desc_label: Desc
  49. pager:
  50. type: some
  51. options:
  52. items_per_page: 10
  53. offset: 0
  54. style:
  55. type: html_list
  56. options:
  57. grouping: { }
  58. row_class: ''
  59. default_row_class: true
  60. type: ul
  61. wrapper_class: item-list
  62. class: ''
  63. row:
  64. type: fields
  65. fields:
  66. name:
  67. id: name
  68. table: users_field_data
  69. field: name
  70. label: ''
  71. plugin_id: field
  72. type: user_name
  73. alter:
  74. alter_text: false
  75. make_link: false
  76. absolute: false
  77. trim: false
  78. word_boundary: false
  79. ellipsis: false
  80. strip_tags: false
  81. html: false
  82. hide_empty: false
  83. empty_zero: false
  84. relationship: none
  85. group_type: group
  86. admin_label: ''
  87. exclude: false
  88. element_type: ''
  89. element_class: ''
  90. element_label_type: ''
  91. element_label_class: ''
  92. element_label_colon: true
  93. element_wrapper_type: ''
  94. element_wrapper_class: ''
  95. element_default_classes: true
  96. empty: ''
  97. hide_alter_empty: true
  98. entity_type: user
  99. entity_field: name
  100. filters:
  101. status:
  102. value: '1'
  103. table: users_field_data
  104. field: status
  105. id: status
  106. expose:
  107. operator: '0'
  108. group: 1
  109. plugin_id: boolean
  110. entity_type: user
  111. entity_field: status
  112. access:
  113. id: access
  114. table: users_field_data
  115. field: access
  116. relationship: none
  117. group_type: group
  118. admin_label: ''
  119. operator: '>='
  120. value:
  121. min: ''
  122. max: ''
  123. value: '-15 minutes'
  124. type: offset
  125. group: 1
  126. exposed: false
  127. expose:
  128. operator_id: access_op
  129. label: 'Last access'
  130. description: 'A user is considered online for this long after they have last viewed a page.'
  131. use_operator: false
  132. operator: access_op
  133. identifier: access
  134. required: false
  135. remember: false
  136. multiple: false
  137. remember_roles:
  138. authenticated: authenticated
  139. anonymous: '0'
  140. administrator: '0'
  141. placeholder: ''
  142. min_placeholder: ''
  143. max_placeholder: ''
  144. is_grouped: false
  145. group_info:
  146. label: ''
  147. description: ''
  148. identifier: ''
  149. optional: true
  150. widget: select
  151. multiple: false
  152. remember: false
  153. default_group: All
  154. default_group_multiple: { }
  155. group_items: { }
  156. plugin_id: date
  157. entity_type: user
  158. entity_field: access
  159. sorts:
  160. access:
  161. id: access
  162. table: users_field_data
  163. field: access
  164. order: DESC
  165. relationship: none
  166. group_type: group
  167. admin_label: ''
  168. exposed: false
  169. expose:
  170. label: ''
  171. granularity: second
  172. plugin_id: date
  173. entity_type: user
  174. entity_field: access
  175. title: 'Who''s online'
  176. header:
  177. result:
  178. id: result
  179. table: views
  180. field: result
  181. relationship: none
  182. group_type: group
  183. admin_label: ''
  184. empty: false
  185. content: 'There are currently @total users online.'
  186. plugin_id: result
  187. footer: { }
  188. empty:
  189. area_text_custom:
  190. id: area_text_custom
  191. table: views
  192. field: area_text_custom
  193. relationship: none
  194. group_type: group
  195. admin_label: ''
  196. empty: true
  197. tokenize: false
  198. content: 'There are currently 0 users online.'
  199. plugin_id: text_custom
  200. relationships: { }
  201. arguments: { }
  202. display_extenders: { }
  203. cache_metadata:
  204. contexts:
  205. - 'languages:language_content'
  206. - 'languages:language_interface'
  207. - user.permissions
  208. max-age: -1
  209. tags: { }
  210. who_s_online_block:
  211. display_plugin: block
  212. id: who_s_online_block
  213. display_title: 'Who''s online'
  214. position: 1
  215. display_options:
  216. block_description: 'Who''s online'
  217. display_description: 'A list of users that are currently logged in.'
  218. display_extenders: { }
  219. cache_metadata:
  220. contexts:
  221. - 'languages:language_content'
  222. - 'languages:language_interface'
  223. - user.permissions
  224. max-age: -1
  225. tags: { }