views.view.who_s_online.yml

Same filename in this branch
  1. 11.x core/tests/fixtures/config_install/multilingual/language/es/views.view.who_s_online.yml
  2. 11.x core/tests/fixtures/config_install/multilingual/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. 8.9.x core/modules/user/config/optional/views.view.who_s_online.yml
  3. 10 core/modules/user/config/optional/views.view.who_s_online.yml
core/modules/user/config/optional/views.view.who_s_online.yml
1 string reference to 'views.view.who_s_online'
InstallerExistingConfigSyncDirectoryMultilingualTest::testConfigSync in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryMultilingualTest.php
Confirms that the installation installed the configuration correctly.

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

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