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. is_grouped: false
  158. group_info:
  159. label: ''
  160. description: ''
  161. identifier: ''
  162. optional: true
  163. widget: select
  164. multiple: false
  165. remember: false
  166. default_group: All
  167. default_group_multiple: { }
  168. group_items: { }
  169. style:
  170. type: html_list
  171. options:
  172. grouping: { }
  173. row_class: ''
  174. default_row_class: true
  175. type: ul
  176. wrapper_class: item-list
  177. class: ''
  178. row:
  179. type: fields
  180. query:
  181. type: views_query
  182. options:
  183. query_comment: ''
  184. disable_sql_rewrite: false
  185. distinct: false
  186. replica: false
  187. query_tags: { }
  188. relationships: { }
  189. header:
  190. result:
  191. id: result
  192. table: views
  193. field: result
  194. relationship: none
  195. group_type: group
  196. admin_label: ''
  197. plugin_id: result
  198. empty: false
  199. content: 'There are currently @total users online.'
  200. footer: { }
  201. display_extenders: { }
  202. cache_metadata:
  203. max-age: -1
  204. contexts:
  205. - 'languages:language_content'
  206. - 'languages:language_interface'
  207. - user.permissions
  208. tags: { }
  209. who_s_online_block:
  210. id: who_s_online_block
  211. display_title: 'Who''s online'
  212. display_plugin: block
  213. position: 1
  214. display_options:
  215. display_description: 'A list of users that are currently logged in.'
  216. display_extenders: { }
  217. block_description: 'Who''s online'
  218. cache_metadata:
  219. max-age: -1
  220. contexts:
  221. - 'languages:language_content'
  222. - 'languages:language_interface'
  223. - user.permissions
  224. tags: { }

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