views.view.who_s_online.yml

Same filename in this branch
  1. 11.x core/modules/user/config/optional/views.view.who_s_online.yml
  2. 11.x core/tests/fixtures/config_install/multilingual/language/es/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/tests/fixtures/config_install/multilingual/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/tests/fixtures/config_install/multilingual/views.view.who_s_online.yml

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

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