views.view.who_s_online.yml

Same filename in other branches
  1. 9 core/modules/user/config/optional/views.view.who_s_online.yml
  2. 10 core/modules/user/config/optional/views.view.who_s_online.yml
  3. 11.x core/modules/user/config/optional/views.view.who_s_online.yml
  4. 11.x core/tests/fixtures/config_install/multilingual/language/es/views.view.who_s_online.yml
  5. 11.x core/tests/fixtures/config_install/multilingual/views.view.who_s_online.yml
core/modules/user/config/optional/views.view.who_s_online.yml

File

core/modules/user/config/optional/views.view.who_s_online.yml

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

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